Solved

Solaris disaster recovery ufsdump/ufsrestore

Posted on 1997-06-29
1
3,503 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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Search for selected keywords and its values in multiple log files 11 63
Java core in Solaris 10 1 296
Adding a continue option in a script 9 56
lunix and unix command 21 89
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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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.:
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.

820 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