Operating System - HP-UX
1834934 Members
2793 Online
110071 Solutions
New Discussion

Verify and restore data by ignite backup function

 
SOLVED
Go to solution
ajk_2
Advisor

Verify and restore data by ignite backup function

Dear all,

I did use the command line

#/opt/ignite/bin/make_tape_recovery ???A

to backup system data. I would like to know how I can verify all the data in the tape? Also, how can I restore the data by ignite? Thanks a lot!

Regards
ajk
4 REPLIES 4
Clemens van Everdingen
Honored Contributor
Solution

Re: Verify and restore data by ignite backup function

Hi,

Follow this procedure:
1. Boot from the tape and interrupt the boot process before non-interactive recovery commences, and then abort the install.
This will verify whether the first image on the tape is bootable.

2. The second image on the tape is the tar archive of the OS and possibly other files (depending on the options to make_recovery).

a) Skip over the first image with mt command using the appropriate tape device file;

mt -f /dev/rmt/0mn rew

mt -f /dev/rmt/0mn fsf 1

b) Verify the contents of the tar image with the tar command using the appropriate device file;

tar tvf /dev/rmt/0m

Regards,
C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
ajk_2
Advisor

Re: Verify and restore data by ignite backup function

HI!

I did use
#tar tvf /dev/rmt/0m

but it said "directory checksum error 4". Do you know why?

Justo Exposito
Esteemed Contributor

Re: Verify and restore data by ignite backup function

Hi,

This is because there are two sessions or different parts in the tape, first you have the bottable image, then you have a tar file with the vg00 copy. Then you must jump the first part as Clemens tell you and then you can do a tar.

Best regards,

Justo.
Help is a Beatiful word
Victor BERRIDGE
Honored Contributor

Re: Verify and restore data by ignite backup function

Exactly : the first file is a bootable image, so you will have to skip it to fall on the actual pax archive thus mt -t ~0mn fsf,the n of the device means no rewind, so you are positionned right in order to read the next file of the tape. to see what the first file contains you would have to:
dd if=/dev/rmt/0mn of=/tmp/LIFfile bs=2k
lifls /tmp/LIFfile -l

All the best
Victor