Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Solaris disaster recovery ufsdump/ufsrestore

Posted on 1997-06-29
1
Medium Priority
?
3,587 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 300 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

773 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