[zfs-discuss] Re: can rsync transverse zfs filesystems

Selim Baygin selimbaygin at gmail.com
Thu Jul 7 19:49:28 EDT 2011

I think you can create snapshots of all your filesystems on server1 recursively with the following:

zfs snapshot -r tank at 1

where "1" refers to a snapshot name.

You can, then, do a combo send-receive as follows (on the originating server, as an example):

zfs  send -R tank at 1 | ssh server2 zfs receive -d tank1

I am not in front of my system now, so I cannot verify the commands.  But these seem to be what everyone on the net seems to be using (forums, wikis, etc.)


On Jul 7, 2011, at 4:14 PM, Mark wrote:

> Can anyone recommend a good guide for this?
> On Jul 7, 9:02 pm, Mark <ipo... at googlemail.com> wrote:
>> I have no idea!
>> I will go look it up now.
>> On Jul 7, 8:54 pm, Maurice R Volaski <maurice.vola... at einstein.yu.edu>
>> wrote:
>>> Why would you use rsync over zfs send/receive?
>>> On 7/7/11 3:30 PM, "Mark" <ipo... at googlemail.com> wrote:
>>>> Hi,
>>>> I have set up 2 identical servers with identical zfs filesystem as
>>>> data storage, the first server will be the master servicing all
>>>> applications and the second will be the backup which will be kept in
>>>> sync with rsync.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20110707/673d4b14/attachment.html>

More information about the zfs-discuss mailing list