1833832 Members
2957 Online
110063 Solutions
New Discussion

Re: make_tape_recovery

 
SOLVED
Go to solution
Becke
Super Advisor

make_tape_recovery

Hi All,

I have Hp version 10.01 and igniteux version 10.01 installed on our server.

what parameters I should use with "make_tape_recovery" command to backup the contents of volume group "vg00", and I also would like to backup the filesystem structure for other vgs to rebuild vgs from the backup tape. I don't want to backup the contents of other volumes groups.

Please help me on the above and tell me the command.

Thanks&Regards,
Raf
16 REPLIES 16
Patrick Wallek
Honored Contributor
Solution

Re: make_tape_recovery

Well, there is no such thing as Ignite/UX version 10.01. I'll assume that you mean you have the version appropriate for version 10.01, although I'm not entirely sure such a thing ever existed. HP-UX 10.01 has been out of support for SEVERAL YEARS!

Anyway, here is my favorite make_tape_recovery command line:

# make_tape_recovery -a /dev/rmt/?mn -I -v -x inc_entire=vg00

Substitute the appropriate tape device for your system, but be SURE to use the no-rewind option (the ?mn).
Adisuria Wangsadinata_1
Honored Contributor

Re: make_tape_recovery

Hi Raf,

Last time when my OS is 10.20, I used make_recovery command. But now on 11.X, the command is make_tape_recovery. So you can try to use make_tape_recovery command first on your 10.01 (hope is work), below is the command for example :

# make_tape_recovery -A -I -v -x inc_entire=/dev/vg00 -a /dev/rmt/0mn

This will backup the entire vg00 to tape with device file /dev/rmt/0mn.

If you want to exclude some directory, you can use '-x exclude=file|dir' (see the man page of make_tape_recovery).

For different between make_tape_recovery & make_recovery, please see the url below (docID=IUXKBRC00007029) :

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-1335382922+1119487235260+28353475&docId=200000076281327

Hope this can help you.

Cheers,
AW
now working, next not working ... that's unix
Becke
Super Advisor

Re: make_tape_recovery


Thanks for your quick response guys, we are running hp os 10.01 on our old legacy system which isn't under support anyway.

I need to know how do I backup the meta data of other volume groups to create mount points. I only want to backup vg00 and its contents but at the same time i would like to backup all the mount points "ONLY" for the other volume groups...

Please advise...we have a wonderfull group..thanks a lot guys
Adisuria Wangsadinata_1
Honored Contributor

Re: make_tape_recovery

Hi Raf,

When you run the make_tape_recovery for entire vg00, the information of all the mount point of other file system will be capture also. Since the information on /etc/fstab, /etc/lvmtab which is apart of vg00.

Other volume groups information is captured when you run make_tape_recovery on vg00.

Hope this information can help.

Cheers,
AW
now working, next not working ... that's unix
Con O'Kelly
Honored Contributor

Re: make_tape_recovery

Hi Raf

I'm guessing that you are using an old version of Ignite-UX to backup your 10.x server.

It may be that you can only use make_recovery not the newer make_tape_recovery command.

The syntax for make_recovery to backup your entire vg00 is:
# make_recovery -A -i -d

(Ensure you use no rewind tape device eg /dev/rmt/0mn)

Cheers
Con
Becke
Super Advisor

Re: make_tape_recovery

Thanks for your responses guys, i was away and couldn't reply,

So if i backup the entire volume group vg00, it should backup the filesystem structure for datavg?...means that if i restore it from the tape then the vg00 volume group and its contents will be resotred and the mount points for the datavg volume group..

if the above is true then this problem has been resolved...please advise...

We have a wonderfull team here guys..thanks to all of you
Cheers,
Raf
Devender Khatana
Honored Contributor

Re: make_tape_recovery

Hi Raf,

It seems you are a bit puzzled. When you recover system with a backup which included vg00 only, your other directories (Mount points) will be created as these are directories in root which is part of vg00. I suppose by recovering mount point you mean to say that all file systems of datavg volume group should be created and mounted, but it will not happen by itself.

As recovery from ignite is intended for recovering only failure of the root disks & supose all other disks to be OK with all data intact. If you have multiple disk failures which includes your datavg disks alongwith root disks then you will have to create new VG in those disks which you can define in initail screen while recovering or if disks in datavg were intact you need to activate VG by importing them using vgimport command.

Feel free to write if you are still unclear.

HTH,
Devender
Impossible itself mentions "I m possible"
Becke
Super Advisor

Re: make_tape_recovery

Thanks Devender this makes sense....

Thanks for to all of you...We have a great team....
Adisuria Wangsadinata_1
Honored Contributor

Re: make_tape_recovery

Hi Raf,

Q : So if i backup the entire volume group vg00, it should backup the filesystem structure for datavg?...means that if i restore it from the tape then the vg00 volume group and its contents will be resotred and the mount points for the datavg volume group..

A : Yes, if the usage of make_tape_recovery to recover the boot disk. But if the problem due to the boot disk plus other disks (ex. data disk on other vg), you need to solve it one by one (starting from vg00 a.k.a boot disk first).

Agreed with Devender for multiple disk failure.

Cheers,
AW
now working, next not working ... that's unix
Becke
Super Advisor

Re: make_tape_recovery


Hi Devender,

By the way, the reason i want to backup all the filesystem structure of datavg, so i can resotre everything in the event of a real disaster...

whats the best method to backup all the meta data of datavg volume group, so I can just use one ignite-UX tape and create all the filsystem structure along with vg00...

Or as you said that , just recover vg00 and then create all the volume groups manually???

Thanks for your help mate
Devender Khatana
Honored Contributor

Re: make_tape_recovery

Hi,

It should be backup up seperately. If you want to back up in one short then you need to define your additional VG's to be created in the initial recovery screen. I have never tried taking backup of multiple VG's in same tape but if you take backup of multiple VG's in same tape and do not define additional VG's while recovering then all the data which was in additional VG's will be restored to the mount point where file systems of those VG's were mounted. This will happen because your restoring command does not see the file systems while restoring but only see the directory from where backup was taken.

This will make the root file system full inbetween recovery & recovery will terminate with error. This will also happen if you define different mount points for additional file systems.

That is why it is recommended to take additional VG's backups seperately.

HTH,
Devender
Impossible itself mentions "I m possible"
Becke
Super Advisor

Re: make_tape_recovery


Hi Guys,

I have run make_tape_recovery command on os version 10.20 on vg00 only, and found out that it actually backs up the datavg's filesystem as well.

So when I restored it from the tape it has restored all the filesystems and their mount points for datavg as well.

However I haven't tried on os version 10.01 but I presume its going to work on 10.01 as well.

Thanks for all your help in getting this resolved. We have a great team here.

Cheers,
Raf
Devender Khatana
Honored Contributor

Re: make_tape_recovery

Raf,

What was the command used for backup ? Possiblly you did not mentioned to include only root VG. Also if you backup contents of other VGs, you need to create them before recovery as specified earlier while recovering.

Did you tried an actual recovery from the scratch ?

Morover, the features of ignite depends on the ignite version & not the OS revision which you are mentioning.It can be found out by

#swlist -l bundle |grep -i ignite

The middle column in the output refers to the Ignite revision as it is the latest C.6.1.44 in the example.

B5725AA C.6.1.44 HP-UX Installation Utilities (Ignite-UX)
Ignite-UX-11-11 C.6.1.44 HP-UX Installation Utilities for Installing 11.11 Systems

It is always recommended to upgrade to latest version of ignite whenever possible.

HTH,
Devender
Impossible itself mentions "I m possible"
Becke
Super Advisor

Re: make_tape_recovery


Hi Devender,

I was actually wrong in my previous note, when I attempted to backup vg00 and restored it, only vg00 got restored and its contents, as the datavg was already there and didn't get touched.

So i still need to find out on how to backup the filesystem structure for datavg, whilst backing up vg00.

The command I'm using to backup the whole vg00 and only the mount points of the datavg is below, however the command below backs up the contents of datavg as well, which i don't want to, i just want to backup the filesystem structure, please advise,

here is the command,

make_tape_recovery -I -a /dev/rmt/0mn -x inc_entire=vg00 -x inc_entire=datavg...

By the way I'm using Ignite-UX version A.3.5.89 Ignite-UX_10.01...

Please tell me where I'm wrong in the above command and what do i need to do to exclude the contents of datavg, so I only backup the filesystem structure...

Thanks as always,
Raf
Devender Khatana
Honored Contributor

Re: make_tape_recovery

Hi Raf,

You are again puzzled and going to same old question which has been allready replied in earlier posts.

make_tape_recovery -I -a /dev/rmt/0mn -x inc_entire=vg00 -x inc_entire=datavg

You gave inc_entire=datavg that is why it was backed up.

As clarified earlier also your VG configration gets backed up by itself alongwith root VG but you need to create these in case of multiple disk failures, it is not done by default while recovery as ignite in intended for root disk failure recoveries only.

Regards,
Devender
Impossible itself mentions "I m possible"
Devender Khatana
Honored Contributor

Re: make_tape_recovery

Raf,

I think it is clear now. If yes assign points and close the thread.

Do not hesitate to revert if something still left.

Regards,
Devender
Impossible itself mentions "I m possible"