1833760 Members
2224 Online
110063 Solutions
New Discussion

recovery tape query

 
radi_1
Frequent Advisor

recovery tape query

Hi,I have just read in a FAQ link that using
-Av switch only in make_tape_recovery command will not recreat non-root volume groups during installation and i need to use the (-x include) switch to acheive that,which means i need to remake recovery tapes accordingly.
please any light on this issue.
thanks.
never take simple maters for granted
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: recovery tape query

Well, yes and no.

The -A option will essentially include ALL of VG00, which is exactly what you want. If you use the '-x inc_entire=vg??' option then it will BACK UP ALL of the data from that VG, which you don't really want.

When you recover from a make_tape_recovery tape, it will restore VG00 just like it was when the system was backed up. Now, if you have other VGs, and their disks are still attached and are all OK, then those VGs should activate automatically when the system comes up and your data should be available.

However, if for some reason the c? instance numbers change so your /dev/dsk/c?t?d? device files change then you may need to vgimport your other VGs.

The idea of make_tape_recovery is to give you something to fairly quickly recover VG00 in case of an emergency. Including other, usually unnecessary VGs, only adds to your recovery time when you can typically least affordd it.
Steve Steel
Honored Contributor

Re: recovery tape query

Hi

See

http://www.docs.hp.com/en/IUX/faq.html

4-6. Q: How do I include all volume/disk groups into a recovery tape?

A: To include all volume and disk groups on the system into a recovery tape (which can also be used with make_net_recovery) use the following command:

make_tape_recovery -A -x inc_cross=/

The make_tape_recovery manpage defines inc_cross as follows:


-x inc_cross=file|dir
Includes the file or directory in the recovery archive and
crosses mount points to access any directories that are
mounted or files contained in directories that are mounted.


So I would remake as shown


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
James R. Ferguson
Acclaimed Contributor

Re: recovery tape query

Hi:

From examining the Ignite documentation, I don't get the sense that this is true.

The manpages for 'make_tape_recovery' note that "If any file from a disk or volume group is included in the recovery archive, that disk (or all disks in the volume
group) will be reformatted during the recovery, and only the files included will be recovered."

http://www.docs.hp.com/en/5187-4555/5187-4555.pdf

Personally, I do not use the '-A' option but rather use '-x inc_entire=vg00'. I am fanatical about configuring vg00 for *only* the standard HP-UX filesystems and placing any "application" filesystems on other volume groups.

Regards!

...JRF...
radi_1
Frequent Advisor

Re: recovery tape query

Thanks to all,I only wanted to be sure that the original non-root v.g's/l.v's configurations(not data) are restored and activated after recovery is complete.I will start using the -x inc_entire=vg00 next time around.
never take simple maters for granted
radi_1
Frequent Advisor

Re: recovery tape query

the query is cleared.thanks
never take simple maters for granted
Cem Tugrul
Esteemed Contributor

Re: recovery tape query

Up to time i did my mk_tape_recovery like;
make_tape_recovey -Av
but i did not test it and Nowadays i am planning system room migration and i may test
(normally,i do not wish)
:-))
Our greatest duty in this life is to help others. And please, if you can't