> The above is very dangerous, if it
> will even work. The output of the zfs send is
> redirected to /tmp, which is a ramdisk.  If you
> have enough space (RAM + Swap), it will work, but if
> there is a reboot or crash before the zfs receive
> completes then everything is gone.

> In stead, do the following:
> (2) n...@holodeck:~# zfs snapshot -r rpool/exp...@now
> (3) n...@holodeck:~# zfs send -R rpool/exp...@now | zfs recv -d epool
> (4) Check that all the data looks OK in epool
> (5) n...@holodeck:~# zfs destroy -r -f rpool/export

Thanks for the tip.  Is there an easy way to do your revised step 4?  Can I use 
a diff or something similar?  e.g.  diff rpool/export epool/export
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to