Operating System - HP-UX
1836987 Members
2040 Online
110111 Solutions
New Discussion

Restore a file with make_recovery

 
SOLVED
Go to solution
RAKOTOARISON
Occasional Contributor

Restore a file with make_recovery

Dear all,

I need a help.
Can someone tell me How I have to do to
restore a file with a backup doing with
make_recovery?

When I do
mt -t /dev/rmt/0mn fsf 1
I take a error message

Thanks in advance

Simon RAKOTOARISON
8 REPLIES 8
Jose Garcia Gavilan
Occasional Contributor

Re: Restore a file with make_recovery

What kind of error?
What kind of DLT?
Hello Everybody!
CHRIS_ANORUO
Honored Contributor

Re: Restore a file with make_recovery

Hi,

make_recovery is not a convention backup procedure. It uses pax to archive system configuration information on tape, with the point of recreating them on recovery.
Look for your last good backup and resore the file.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
James R. Ferguson
Acclaimed Contributor
Solution

Re: Restore a file with make_recovery

Hi:

Ignite's make_recovery is not intended to make standard backup tapes. However you should be able to extract (with tar) a file by doing the following.

# mt -t /dev/rmt/0mn rew
# mt -t /dev/rmt/0mn fsf 1
# cd /tmp
# tar tar xvf /dev/rmt/0mn the_file_to_recover

...JRF...
Maarten van Maanen
Regular Advisor

Re: Restore a file with make_recovery

Hi,

Afaik you cannot restore a file from a recovery-tape. A recovery tape is ment to be booted from to restore your file-system and settings on your system in case you hardware has failed or you have (major) problems with your boot-drive and/or volumes.
To restore specific files you have to use your standard backup-tapes, created with tar, fbackup Omniback or other backup software.
Jose Garcia Gavilan
Occasional Contributor

Re: Restore a file with make_recovery

Hi Maarten,
make_recovery is not designed to be used as a backup tool, but you can recover a file as James explained. I have done it once, and i had some problems, because the tape wasn?t right. That?s why i asked RAKOTOARISON for the error.

Regards
Hello Everybody!
Rick Garland
Honored Contributor

Re: Restore a file with make_recovery

Using the mt command and tar or pax you can restore a file from the make_recovery. There are previous posts that detail how this is done.

It sounds like it should be emphasized, the make_recovery is not a backup tool. Use it for vg00, the root area only.

Wodisch
Honored Contributor

Re: Restore a file with make_recovery

Hi,
shouldn't you use "mt -f /dev/rmt/omn fsf 1" on HP-UX 11.00? Not "-t"!
Wodisch
RAKOTOARISON
Occasional Contributor

Re: Restore a file with make_recovery

Hi all,

Many thanks for your reply.
The problem is fixed by the solution
given by James R. FERGUSON

Thanks
Simon RAKOTOARISON