Operating System - HP-UX
1833772 Members
2542 Online
110063 Solutions
New Discussion

Include omni binaries in ignite backup

 
SOLVED
Go to solution
GK_5
Regular Advisor

Include omni binaries in ignite backup

Hi

I want to do ignite backup of 10.20 cell server running OBII 4.10. My /etc/opt/omni and /var/opt/omni are part of vg01.
How do I include these two file systems in my ignite backup. I want to exclude /var/opt/omni/db40 though. I'm using make_recovery.

Thanks

-GK-
IT is great!
6 REPLIES 6
Helen French
Honored Contributor
Solution

Re: Include omni binaries in ignite backup

First of all, you need to install the new version of Ignite on the server and the command make_tape_recovery. Once you do that, add these options in the backup command:

-x inc_entire=vg01 (for adding vg01)
-x exclude=/var/opt/omni/db40 (to exclude that directory.)

# man make_tape_recovery (for more details)
Life is a promise, fulfill it!
Denver Osborn
Honored Contributor

Re: Include omni binaries in ignite backup

You can run make_recovery in a preview mode, edit the arch.include file then resume the recovery... after the tape is made, you could list the contents of the archive to double check that it was backed up.

create the tape
# make_recovery -A -p
# vi /var/opt/ignite/recovery/arch.include
->add your OB data you want to have
->in the archive...
# make_recovery -r

check the archive contents
# mt -t /dev/rmt/0mn fsf 1
# tar tvf /dev/rmt/0m

You may run into problems if /var is not large enough to hold the OB data now being included in the archive (unless you use make_tape_recovery w/ -x incl_entire=vg00 and -x incl_entire=vg01 to get both VG's)

Hope this helps,
-Denver
Ashwani Kashyap
Honored Contributor

Re: Include omni binaries in ignite backup

make_recovery is obsoleted and I doubt it will do what your are looking for .

make_recovery is replaced by make_tape_recovery and it will definitely do what you are looking for .

Do a man on make_tape_recobery and look for the following options , -x incl=entire VG , -A and -s options .
Steven E. Protter
Exalted Contributor

Re: Include omni binaries in ignite backup

#!/usr/bin/sh
/opt/ignite/bin/make_tape_recovery -Av -x inc_entire=vg00

Include any volume groups that omniback database and such are in. There can be no running backups to get a good copy.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
GK_5
Regular Advisor

Re: Include omni binaries in ignite backup

Thanks Shiju,

It is running. I was under the impression that make_tape_recovery is with HP-UX 11.00 and above.

Thank you all.

-GK-
IT is great!
John Garrott
Occasional Advisor

Re: Include omni binaries in ignite backup

You will also want to backup /etc/opt/omni and /var/opt/omni. However, the OmniBack catalog database in /var/opt/omni can grow up to 2 GB in size, which may impact the ability to create a single recovery tape, particularly if using older DAT tape media such as DDS2. You might want to look into the OmniBack 'omnidbutil' command. You could export the catalog data to text files with the 'writeascii' parameter and backup these files via tar or fbackup.

John Garrott