Solved

Solaris disaster recovery ufsdump/ufsrestore

Posted on 1997-06-29
1
3,492 Views
Last Modified: 2013-12-16
We have a Netra i5 as our internet gateway machine and wish
to have a disaster recovery proceedure.We can use ufsdump and ufsrestore it seems, but we have no tape drive on this box.Is there a way I can restore from a file.We have 2 filesystems root and /export/home we backup to /export/home via ufsdump so I understand the proceedure to be something like this :

boot from CD
mount /
mount /export/home
ufsrestore from /export/home/ufsdump.root to /
ufsrestore /export/home from /export/home/ufsdump.exporthome

So root seems fine, but /export/home!! can I ufsrestore a filesystem from itself ???

Should I be using remote tapes, if so can I connect to these
while just booting from CD??

 
0
Comment
Question by:dblack062997
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 100 total points
ID: 1812481
To me it looks not reasonable to backup /export/home on /export. If this partition gets lost also your backup file will be gone.

I suggest that you either backup to a remote disk, which you can NFS mount or to a remote tape. The ufsdump (restore) works on remote tapes. Here is how to do it:

/usr/sbin/ufsdump 0uf root@<remote>:<remote tape device> <local disk device>

The ufsrestore command can use remote tapes after you booted from CD (NFS will also work). Maybe you can also use ufsdump/restore to a remote disk without NFS mounting it, but I never tried it.
Anyhow, this is a worst case solutiion, so in worst case aren't you able to attach a local tape drive as well...?

Hope this helps,

Peter (pxh@mpe-garching.mpg.de)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now