Operating System - HP-UX
1834461 Members
2562 Online
110067 Solutions
New Discussion

How to read Recovery tape created by Ignite/UX?

 
Rashid Ali
Frequent Advisor

How to read Recovery tape created by Ignite/UX?

May I know how can I read rge recovery tape created by make_recovery if I want to extract some files from it or just want to know when this tape was created?

Thanks,
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: How to read Recovery tape created by Ignite/UX?

To read the make_recovery tape the first thing you need to do is skip over the first file on the tape which is the area the tape boots from. Then you can do a tar -tv to look at the contents.

# mt -f /dev/rmt/?mn fsf 1

# tar -tvf /dev/rmt/?mn
Joanne Keegan
Regular Advisor

Re: How to read Recovery tape created by Ignite/UX?

I'd check the man page on make_recovery.

It is written in tar format.

So to have a look what is on it, I'd do:

mt -t /dev/rmt/0mn fsf 1
tar -vt /dev/rmt/0m

This should list what is on the tape.

Hope this helps,

Jo
Rashid Ali
Frequent Advisor

Re: How to read Recovery tape created by Ignite/UX?

Yes, I can run tar after skipping the header in the tape. But if I want to know when the tape was created, how can I do that?

Thanks,
Sridhar Bhaskarla
Honored Contributor

Re: How to read Recovery tape created by Ignite/UX?

I honestly do not know if there is any way we can check the tape to see when it was created. But a work around could be to restore a file that we know would have a time stamp during the recovery

#mt -t /dev/rmt/0mn fsf 1
#tar -xf /dev/rmt/0m /var/opt/ignite/recovery/makrec.last

A very unsupported way of doing.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: How to read Recovery tape created by Ignite/UX?

I honestly do not know if there is any way we can check the tape to see when it was created. But a work around could be to restore a file that we know would have a time stamp during the recovery

#mt -t /dev/rmt/0mn fsf 1
#tar -xf /dev/rmt/0m /var/opt/ignite/recovery/makrec.last

and check the timestamp of makerec.last file


A very unsupported way of doing.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Tim D Fulford
Honored Contributor

Re: How to read Recovery tape created by Ignite/UX?

/var/opt/ignite/logs/makerec.[log1 log2]
These files have the times & dates of when ignite images were taken. You could extrcat these files from the Ignite-UX tape

/var/opt/ignite/local/install.log
This file contains an install log & says when (& where) the image was taken to make the local server. You can use this to check from which tape the image was taken.

Tim
-
Deshpande Prashant
Honored Contributor

Re: How to read Recovery tape created by Ignite/UX?

HI
If you ran the make_recovery command with -C option, the check_recovery command will tell you when make_recovery was run last.

Thanks.
Prashant.
Take it as it comes.
Victor_5
Trusted Contributor

Re: How to read Recovery tape created by Ignite/UX?

Hi,

Actually, you have got excellent answers from above threads: mt first, then tar; or check log file; or use check_recovery.

One more thing is the point assignment. Don't forget to assign points to those posts, they use time to help you, and you can use this way to give your feedback and thanks.