Dedhi Sujatmiko
2009-May-13 03:37 UTC
[zfs-discuss] backup and restore of ZFS root disk using DVD driveand DAT tape drive
Dear all, given a DVD drive and DAT Tape Drive, and using Solaris 10 U7 (5/09), how can we plan for a total backup of ZFS root disk and procedure to recover that? Previously using UFS, we just need to use boot from Solaris OS DVD media, also using ufsdump, ufsrestore and installboot. Anybody can point me on how to achieve the same thing when the whole system disk are busted? Thanks in advance, Dedhi
Erik Trimble
2009-May-13 04:32 UTC
[zfs-discuss] backup and restore of ZFS root disk using DVD driveand DAT tape drive
the "zfs send" and "zfs receive" commands can be used analogously to "ufsdump" and "ufsrestore". You''ll have to create the root pool by hand when doing a system restore, but it''s not really any different than having to partition the disk under the old ufs-way. So, use "zfs send" to write the zfs filesystems to DAT. To recover: (1) boot from S10 DVD (2) exit installer (3) create root zfs pool (4) create root zfs filesystem, swap, and dump zvols, and any other normal zfs filesystem in the root zpool. (5) restore each filesystem using "zfs receive" from the DAT. (6) use "installboot" (for SPARC), remembering to use the -F zfs option, to get the bootblock done -Erik Dedhi Sujatmiko wrote:> Dear all, > > given a DVD drive and DAT Tape Drive, and using Solaris 10 U7 (5/09), > how can we plan for a total backup of ZFS root disk and procedure to > recover that? > Previously using UFS, we just need to use boot from Solaris OS DVD > media, also using ufsdump, ufsrestore and installboot. > > Anybody can point me on how to achieve the same thing when the whole > system disk are busted? > > > Thanks in advance, > > Dedhi > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Erik Trimble Java System Support Mailstop: usca22-123 Phone: x17195 Santa Clara, CA Timezone: US/Pacific (GMT-0800)
Joerg Schilling
2009-May-13 11:54 UTC
[zfs-discuss] backup and restore of ZFS root disk using DVD driveand DAT tape drive
Dedhi Sujatmiko <dedhi.sujatmiko at gmail.com> wrote:> Dear all, > > given a DVD drive and DAT Tape Drive, and using Solaris 10 U7 (5/09), > how can we plan for a total backup of ZFS root disk and procedure to > recover that? > Previously using UFS, we just need to use boot from Solaris OS DVD > media, also using ufsdump, ufsrestore and installboot.star includes an implementation of the basic ideas from ufsdump/ufsrestore in a OS and FS independent way. Star allows you to do incremental dumps and restores. J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Fajar A. Nugraha
2009-May-13 13:52 UTC
[zfs-discuss] backup and restore of ZFS root disk using DVD driveand DAT tape drive
On Wed, May 13, 2009 at 11:32 AM, Erik Trimble <Erik.Trimble at sun.com> wrote:> the "zfs send" and "zfs receive" commands can be used analogously to > "ufsdump" and "ufsrestore". > > You''ll have to create the root pool by hand when doing a system restore, but > it''s not really any different than having to partition the disk under the > old ufs-way. > > So, use "zfs send" to write the zfs filesystems to DAT. > > To recover:This page lists detailed step-by-step instruction http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Root_Pool_Recovery Regards, Fajar
Dedhi Sujatmiko
2009-May-14 10:57 UTC
[zfs-discuss] backup and restore of ZFS root disk using DVD driveand DAT tape drive
Erik Trimble wrote:> the "zfs send" and "zfs receive" commands can be used analogously to > "ufsdump" and "ufsrestore". > > You''ll have to create the root pool by hand when doing a system > restore, but it''s not really any different than having to partition > the disk under the old ufs-way. > > So, use "zfs send" to write the zfs filesystems to DAT. > > To recover: > > (1) boot from S10 DVD > (2) exit installer > (3) create root zfs pool > (4) create root zfs filesystem, swap, and dump zvols, and any other > normal zfs filesystem in the root zpool. > (5) restore each filesystem using "zfs receive" from the DAT. > (6) use "installboot" (for SPARC), remembering to use the -F zfs > option, to get the bootblock done >Thanks Erik, the document on http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide is really helpful and inline with what you mentioned. However, I still have 2 problems here : 1. What will be the utility to manage the tape drive? I believe I should use the "mt" command here 2. What will be the utility to stream the data in and out of the tape? Can I use "cat" ? regards, Dedhi