[zfs-discuss] Incremental Backup

It Group storage.group.1 at gmail.com
Mon Dec 5 08:37:32 EST 2016


thanks,
 but dear,
when i use :
zfs recv -F destPool <. /incrementalbackup1

it show and stop :
destination has snapshot(destPool at snap1)

now , any way for solved it?

thanks,


On Mon, Dec 5, 2016 at 4:41 PM, Gordan Bobic via zfs-discuss <
zfs-discuss at list.zfsonlinux.org> wrote:

>
>
> On Mon, Dec 5, 2016 at 1:03 PM, It Group <storage.group.1 at gmail.com>
> wrote:
>
>> I'm sorry,
>> ok , you  say right,
>>
>> i do:
>> zfs send -i snap1 mypool/fs1 at snap2 > ./Incrementalbackup1
>>
>> now , how i import Incrementalbackup1 to destPool?
>>
>
> Assuming you already initialized mypool/fs1 on the target size with the
> full transfer:
>
> zfs receive mypool/fs1 < /incrementalbackup1
>
>
>
>>
>> thanks,
>>
>> On Mon, Dec 5, 2016 at 3:00 PM, Gordan Bobic via zfs-discuss <
>> zfs-discuss at list.zfsonlinux.org> wrote:
>>
>>>
>>>
>>> On Mon, Dec 5, 2016 at 11:24 AM, It Group via zfs-discuss <
>>> zfs-discuss at list.zfsonlinux.org> wrote:
>>>
>>>> Hi Dears,
>>>>
>>>> I do :
>>>>
>>>> zfs snapshot mypool/fs1 at snap1
>>>>
>>>> zfs send mypool/fs1 at snap1 > ./fullbackup
>>>>
>>>> in destination pool:
>>>>
>>>> zfs recv -F destPool <./fullbackup
>>>>
>>>
>>> zfs receive -F destpool/fs1 < /fullbackup
>>>
>>>
>>>>
>>>> for next :
>>>>
>>>> zfs snapshot mypool/fs1 at snap2
>>>>
>>>> zfs send mypool/fs1 at snap1 > ./Incrementalbackup1
>>>>
>>>
>>> RTFM. From the man page:
>>>
>>> zfs send [-DnPpRveL] [-[iI] snapshot] snapshot
>>>
>>>            Creates  a stream representation of the second snapshot,
>>> which is written to standard output. The output can be redi‐
>>>            rected to a file or to a different system (for example, using
>>> ssh(1). By default, a full stream is generated.
>>>
>>>            -i snapshot
>>>
>>>                Generate an incremental stream from the first snapshot
>>> (the incremental  source)  to  the  second  snapshot  (the
>>>                incremental  target).   The incremental source can be
>>> specified as the last component of the snapshot name (the @
>>>                character and following) and it is assumed to be from the
>>> same file system as the incremental target.
>>>
>>> So the incantation on the source side is:
>>> zfs send -i mypool/fs1 at snap1 mypool/fs1 at snap2 > /fullbackup
>>>
>>> zfs receive is the same in both cases.
>>>
>>>
>>> _______________________________________________
>>> zfs-discuss mailing list
>>> zfs-discuss at list.zfsonlinux.org
>>> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>>>
>>>
>>
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20161205/8026c5d6/attachment.html>


More information about the zfs-discuss mailing list