Re: [zfs-discuss] replicating a set of zfs snapshots

2008-12-21 Thread Juergen Nickelsen
Juergen Nickelsen writes: >> If that's what you want, do an incremental send (-I). > > To be a bit more detailed, first create the file system on the > target machine by sending the first snapshot that you want to have > replicated in full. After that, send each of the following snapshots > incre

Re: [zfs-discuss] replicating a set of zfs snapshots

2008-12-21 Thread Juergen Nickelsen
Ian Collins writes: >> I suspect that a 'zfs copy' or somesuch would be a nice utility >> when wanting to shove a parent and all of it's snapshots to >> another system. >> > If that's what you want, do an incremental send (-I). To be a bit more detailed, first create the file system on the ta

Re: [zfs-discuss] replicating a set of zfs snapshots

2008-12-21 Thread Elaine Ashton
Actually, this is pretty cool. If I choose the last/latest/most recent snapshot and do like so: zfs send -R tank/filesystem/foo...@backup_date | ssh newsys zfs recv -d tank/test It copies everything over as I had hoped. I suppose this was somewhat obvious after re-reading the options but could

Re: [zfs-discuss] replicating a set of zfs snapshots

2008-12-21 Thread Elaine Ashton
> If that's what you want, do an incremental send (-I). Well, if I believe the documentation, -I will send 'all incremental streams from one snapshot to a cumulative snapshot' which isn't quite what I want. I more or less want an exact duplicate of the current system with the snapshots on ano

Re: [zfs-discuss] replicating a set of zfs snapshots

2008-12-20 Thread Ian Collins
Elaine Ashton wrote: >> You are sending a full copy of tank/snapshot. >> > > Well, yes, but it wasn't the behaviour I was quite expecting. > > I suspect that a 'zfs copy' or somesuch would be a nice utility when wanting > to shove a parent and all of it's snapshots to another system. > >

Re: [zfs-discuss] replicating a set of zfs snapshots

2008-12-20 Thread Elaine Ashton
> You are sending a full copy of tank/snapshot. Well, yes, but it wasn't the behaviour I was quite expecting. I suspect that a 'zfs copy' or somesuch would be a nice utility when wanting to shove a parent and all of it's snapshots to another system. > If you just want the snapshots, send them

Re: [zfs-discuss] replicating a set of zfs snapshots

2008-12-20 Thread Ian Collins
Elaine Ashton wrote: > 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 t

[zfs-discuss] replicating a set of zfs snapshots

2008-12-20 Thread Elaine Ashton
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 ho