On Wed, Jan 07, 2009 at 01:38:33PM -0500, Tom Georgoulias wrote: > Absolutely. I've been hacking on a zfs replication shell script that I > found on a blog and trying to make it work for my setup. What you've > said has just reassured me that the headaches I was running into aren't > just a result of my minimal zfs knowledge, as I was struggling with a > way to "rotate" the snapshots on the source server (making a new one, > getting rid of the oldest, and renaming those in the middle to reflect > their new status) and keeping the remote server sync'd up with the > source. So far I haven't been successful at that.
Right, incremental zfs send streams do not include information about snapshot deletions done at times between the two snapshots in question. What you can do is script around zfs list output to detect which snapshots have been deleted (or even renamed, using the creation time -- it'd be nice if every dataset and snapshot had a UUID, no? user-defined properties might help with that). Renames are going to be the hardest to deal with. Nico -- _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
