Operating System - HP-UX
1832275 Members
2133 Online
110041 Solutions
New Discussion

make_recovery backup of not root vg

 
Manju Kampli
Trusted Contributor

make_recovery backup of not root vg

I have /var/opt/omni file system in /dev/vg01 volume group. During the make_recovery I would like to include this in to the archive and while restore I want to restore /var/opt/omni files in to /dev/vg01 volume group. I am wondering is it poosible to do with make_recovery ? if yes can some one suggest me how to proceed with this..

Thanks in advance
Never stop "LEARNING"
7 REPLIES 7
Anthony Goonetilleke
Esteemed Contributor

Re: make_recovery backup of not root vg

Hi manju,
Have a look at Doc. ID: KNC011298004 on the ITRC, make_recovery -A does the trick.
Minimum effort maximum output!
Rick Garland
Honored Contributor

Re: make_recovery backup of not root vg

There are files in the /var/opt/ignite/recovery directory that let you add files to the make_recovery process. The -A switch will do all of vg00. If more is needed, look at the makerec.append file
Tom Danzig
Honored Contributor

Re: make_recovery backup of not root vg

Edit /var/opt/ignite/recovery/makrec.append to include:

** User Data **
/your/dir/to/be/included


Manju Kampli
Trusted Contributor

Re: make_recovery backup of not root vg

I found by adding into core.append file, the files are being backed up. I am afraid this has not taken the details of Logical volume and volume group these files exist, and may end up in restoring on to root file system.

any comments on this ??
Never stop "LEARNING"
Ramesh Donti
Frequent Advisor

Re: make_recovery backup of not root vg

Manju,
You can add the following lines to makrec.append file to include /var/opt/omni

** User Data **
# OmniBack-II product files and related directories and files
# for Releases 10.x.
product OMNIBACK-II
file /opt/image/lib/libil.1
dir /var/opt/omni/

But the question is why do u want to backup omni database using make_recovery.

I advice you to keep away Omni database from make_recovery and take omni database backup onto a DDS drive.
This will help you to recover omni database much faster, if ur system is fine but omni database is crashed/corrupted.

Always Keep Smiling
Wodisch
Honored Contributor

Re: make_recovery backup of not root vg

Hi,
have you checked building an ignite-server and using "make_net_recovery"?
There is a paragraph in the docs at "www.software.hp.com/products/IUX"
that describes including additional VGs into a "make_net_recovery".
HTH,
Wodisch
Vincente Fernandes
Valued Contributor

Re: make_recovery backup of not root vg

Edit "/var/opt/ignite/recovery/makrec.append"file before invoking make_recovery to include the required directories. You can test make_recovery or your script by using "-p" option which is for preview only which will inturn create an archive include file "/var/opt/ignite/recovery/arch.include".
For ex. "make_recovery -p -d /dev/rmt/0m"
After this is successfull you can use "-r" to create your actuall make_recovery tape by "make_recovery -r -d /dev/rmt/0m". Refer to man page for "make_recovery" which have a step by step details for make_recovery.