Operating System - HP-UX
1834782 Members
2707 Online
110070 Solutions
New Discussion

Make recovery for only system file system

 
Mauro Cimino_2
Frequent Advisor

Make recovery for only system file system

Anyone can tell me if make_recovery archive the umounted file systems?
The problem is that I have other file systems in /dev/vg00 other than system filesystems.
I want archive /, /usr, /opt, /stand, /var, but not others. I think to do:

make_recovery -A

with the other filestems umounted.
Is it correct?

Thanks, Mauro

3 REPLIES 3
John Dvorchak
Honored Contributor

Re: Make recovery for only system file system

What you would do is to exclude thoses filesystems explicitly like this

make_tape_recovery -v -I -x exclude=/usr/local/file_or_directory -x exclude=/another_file -x inc_entire=vg00

You can have as many -x exclude= statements as you like.

If it has wheels or a skirt, you can't afford it.
RAC_1
Honored Contributor

Re: Make recovery for only system file system

make_recovery is old command. Make sure you have latest Ignite version installed. Once installed, prepare a ignite recovery as follows.

make_tape_recovery -vi -A -x inc_entire=vg00 -a /dev/rmt/0mn

This will back up everything on vg00

Anil
There is no substitute to HARDWORK
Sridhar Bhaskarla
Honored Contributor

Re: Make recovery for only system file system

Hi Mauro,

First, you will need to get your Ignite/UX upgraded to get make_tape_recovery from here.

http://www.software.hp.com/products/IUX/download.html

YOu don't need to unmount the filesystems if you don't want them to be backed up. YOu can use '-x exclude /directory' option to exclude them from being backed up.

Look at the man page of 'make_tape_recovery'.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try