Solved

Solaris disaster recovery ufsdump/ufsrestore

Posted on 1997-06-29
1
3,487 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

758 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

17 Experts available now in Live!

Get 1:1 Help Now