On Sat, Dec 27, 2008 at 02:29:58PM -0800, Ross wrote:
> All of which sound like good reasons to use send/receive and a 2nd zfs
> pool instead of mirroring.

Yes.

> Send/receive has the advantage that the receiving filesystem is
> guaranteed to be in a stable state.  How would you go about recovering

Among many other advantages.

> the system in the event of a drive failure though?  Would you have to
> replace the system drive, boot off a solaris DVD and then connect the
> external drive and send/receive it back?

You could boot from your backup, if you zfs sent it the relevant
snapshots of your boot datasets and installed GRUB on it.

So: replace main drive, boot from backup, backup the backup to the new
main drive, reboot from main drive.

If you want to only backup your user data (home directory) then yes,
you'd have to re-install, then restore the user data from the backup.

And yes, the restore procedure would involve a zfs send from the backup
to the new pool.

> It won't be quick, but replacing a failed single boot drive never is.
> Would it be possible to combine the send/receive backup with a
> scripted installation saved on the external media?  Something that

That would be nice, primarily so that you needn't backup anything that
can be simply re-installed.

Nico
-- 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to