[zfs-discuss] replicating a set of zfs snapshots

Elaine Ashton elaine.ashton at sun.com
Sat Dec 20 16:55:45 PST 2008


I currently have a host that serves as a nominal backup host by receiving nightly differential snapshots of datasets/filesystems from a fileserver.

Say that I want to move those snapshots to another system /as they are/ and continue to to do nightly snapshots from the fileserver only to a new host as if nothing has changed...How do I approach this as 'zfs send/recv' from the manual doesn't quite work the way I expect, e.g.

"zfs send tank/snapshot at today | ssh newbox zfs recv tank/snapshot at today"

barfs complaining that the fs already exists on the receiving host. I just want to copy all the snapshots on one host to another without altering them at all.

I'm certain this must be do-able and that I'm doing it wrong somehow.
-- 
This message posted from opensolaris.org



More information about the zfs-discuss mailing list