Solved

Solaris disaster recovery ufsdump/ufsrestore

Posted on 1997-06-29
1
3,540 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.
Suggested Courses

623 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