Sorry I can't volunteer to test your script.
I want to do the steps by hand to make sure I understand them.
If I have to do it all again, I'll get in touch.
Thanks for the advice!
--chris
Constantin Gonzalez wrote:
Hi,
Chris Quenelle wrote:
Thanks, Constantin! That sounds like the right answer for me.
Can I use send and/or snapshot at the pool level? Or do I have
to use it on one filesystem at a time? I couldn't quite figure this
out from the man pages.
the ZFS team is working on a zfs send -r (recursive) option to be able
to recursively send and receive hierarchies of ZFS filesystems in one go,
including pools.
So you'll need to do it one filesystem at a time.
This is not always trivial: If you send a full snapshot, then an incremental
one and the target filesystem is mounted, you'll likely get an error that the
target filesystem was modified. Make sure the target filesystems are unmounted
and ideally marked as unmountable while performing the send/receives. Also,
you may want to use the -F option to receive which forces a rollback of the
target filesystem to the most recent snapshot.
I've written a script to do all of this, but it's only "works on my system"
certified.
I'd like to get some feedback and validation before I post it on my blog,
so anyone, let me know if you want to try it out.
Best regards,
Constantin
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss