Operating System - HP-UX
1833827 Members
2161 Online
110063 Solutions
New Discussion

restore from tape recovery

 
SOLVED
Go to solution
subhashni
Regular Advisor

restore from tape recovery

Hello ,
Can some one please help me with the procedure ..that restore from tape recovery.
Thanks
unix4me
10 REPLIES 10
Peter Godron
Honored Contributor
Solution

Re: restore from tape recovery

Hi,
the easiest way is to use SAM.
V. Nyga
Honored Contributor

Re: restore from tape recovery

Hi,

one possibility is 'sam'.
Choose the 'Backup and Recovery' area - 'Interaktiv 'Backup and Recovery'.
Mark the hardware and choose under 'Actions' 'Recovery'.

Under 'Additional Parameters' you can set if files are placed from where they are or in another directory. Also you can select the recovery scope, i.e. if you want all file from the tape or special ones.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
subhashni
Regular Advisor

Re: restore from tape recovery

Hello ,
Thanks for the reply . Actually i have backed up the vg00 and i was trying to restore OS.
please advice.
unix4me
V. Nyga
Honored Contributor

Re: restore from tape recovery

Hi,

have you asked yourself to use ignite for restoring a complete OS?

Otherwise you have to install UX, create the same vg00 you have on the other ws and write back the content of the tape.
But I don't know if you can rewrite the /dev file over which your just recover your tape.

If you make tests only, then you can try.
Other possibility - you write back on a second disk and then use this disk for boot.

But much better is using ignite ...

V.
*** Say 'Thanks' with Kudos ***
subhashni
Regular Advisor

Re: restore from tape recovery

Sir,
Thanks for the reply.
This is what i have used.
/opt/ignite/bin/make_tape_recovery -Av -d /dev/rmt/0m .
ANd i wanted to make sure i have the restore procedure before i try to upgrade my box.
Thanks
unix4me
Torsten.
Acclaimed Contributor

Re: restore from tape recovery

Just boot from the tape. If you doesn't interrupt the boot process, the system will be restored like the original (without the mirrored disk).

If you interrupt, you can change the settings, like file system sizes.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: restore from tape recovery

It may be helpful to write down the hardware path to the tape, e.g. 0/1/2/3.4.0

So you can boot quickly without searching the boot device:

Main Menu: Enter command or menu > boot 0/1/2/3.4.0
Do you wish to stop at the ISL prompt prior to booting? (y/n) >> n

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
subhashni
Regular Advisor

Re: restore from tape recovery

Thanks Much
unix4me
Torsten.
Acclaimed Contributor

Re: restore from tape recovery

You can check your backup from a running OS:

# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn


Just in case you have an Integrity server, the restore procedure is a bit different:

You have to boot the installation DVD, select

-> Install HP-UX -> select Advanced Installation -> Recovery tape -> GO!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
V. Nyga
Honored Contributor

Re: restore from tape recovery

Hi,

interrupt boot process and search for the bootable tape device.

As you can read here:
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079988350

you don't have used the option you wanted to:
in make_tape_recovery '-d' is an archive description not the destination - neverthless I think your command worked because dev/rmt/0m is the default destination.
Also, without the '-I' option it will recover from tape without interruption, so it'll be the exact copy of your system.

Here you also find more about ignite:
http://www.docs.hp.com/en/IUX/

Regards
Volkmar
*** Say 'Thanks' with Kudos ***