Operating System - HP-UX
1827286 Members
1762 Online
109717 Solutions
New Discussion

Restoring from a make_recovery tape

 
SOLVED
Go to solution
Chris Zimo
Occasional Advisor

Restoring from a make_recovery tape

I am sort of new to HP-UX, and I am trying to educate myself on what actually is restored to a system from a make_recovery tape. I have read from several sources that only the root volume group is restored. My question is do I have to recreate my other volume groups after restoring from my make_recovery tape, then restore the rest of my files from my nightly backup tape? Or are all volume groups (taking into consideration vg00 is already restored) restored from my make_recovery minus the data held within the volume groups?
7 REPLIES 7
Sanjay_6
Honored Contributor

Re: Restoring from a make_recovery tape

Hi Chris,

Try the ignite ux faq,

http://www.software.hp.com/products/IUX/iux_faq

Hope this helps.

Regds
Kelli Ward
Trusted Contributor

Re: Restoring from a make_recovery tape

Hi,
Here's another good doc.
http://www.software.hp.com/products/IUX/docs/sysadm.html

Happy Holidays
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Patrick Wallek
Honored Contributor
Solution

Re: Restoring from a make_recovery tape

The short answer is: IT DEPENDS!

Here are a couple of example scenarios for your consideration.

*********************

Scenario 1 (typical make_tape_recovery recovery):

You have a machine with lots of data spread over lots of disks and VGs. For some reason you have to rebuild VG00 from your tape.

You boot from the tape and let it do its thing, restoring VG00.

In this situation, since you are restoring the OS to the same disk, on the same machine, all of your other data is still on the other disks and SHOULD be available once you are done restoring from tape.

All of your VG information (/dev/vg*) was backed up and since the disks are the same, everything is back once your machine reboot.

*****************

Scenario 2: (make_recovery in a DR environment)

Your machine, all disks and everything associated with it is gone. Not accessable or recognizable as a computer.

You go to your DR site and boot the DR machine from the make_recovery tape. The machine comes up with VG00 just like it was in your production environment.

BUT, you will have NONE of your volume groups because the disks are different, different types of disks, different paths, different device files, etc.

So at this point you have to create all of your other VGs and restore all the rest of your data from your backup tapes.

*************

Hopefully all this makes sense.

Feel free to post any other questions you may have.

Happy Holidays!!!!!
Helen French
Honored Contributor

Re: Restoring from a make_recovery tape

Hi Chris,

See this guide for Ignite-UX administration:

http://docs.hp.com/hpux/onlinedocs/B2355-90704/B2355-90704.html

HTH,

SW
Life is a promise, fulfill it!
Mark Greene_1
Honored Contributor

Re: Restoring from a make_recovery tape

yes and no.

If you create the tape with the -A option, it will indeed backup (and thus also restore) the entire vg00 volume group.

You can also use the -C option to add files specified in /var/opt/ignite/recovery/makrec.append. You can check the file /var/opt/ignite/recovery/makrec.last to see what was backed-up on the last tape.

HTH
--
mark
the future will be a lot like now, only later
Steven Gillard_2
Honored Contributor

Re: Restoring from a make_recovery tape

What is restored depends on what is on the tape. If the tape was created with -A then every file in vg00 will be restored. Without -A only important system files are restored and you will have to restore the rest off your backup.

To see whats on your archive, run:

# mt -t /dev/rmt/0mn fsf
(make sure you specify the no-rewind device)
# tar tvf /dev/rmt/0m

With respect to LVM, only vg00 will be rebuilt. The other volume groups will be automatically imported, because make_tape_recovery creates mapfiles in /etc/lvmconf before creating the tape. Then it will automatically run the vgimport command with these mapfiles post recovery.

Have a look at the files under /var/opt/ignite/recovery/latest for infomration about what is on your latest recovery tape. The system_cfg and control_cfg define how LVM will be restored.

Regards,
Steve
Jeff Machols
Esteemed Contributor

Re: Restoring from a make_recovery tape