Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make_recovery?

Status
Not open for further replies.

dmjoen

Technical User
Jul 26, 2001
31
US
Is it possible to restore select files from a make_recovery? If so, what is the command?

Thanks
 
Hi,

The make_recovery tape is a bootable system recovery tape and it is possible to recover files from the make_recovery tape using the "tar" command.

Do "man make_recovery" in the server for more information.

cheers,

 
Depending upon what version, but as far as I remember, make_recovery builds a tape archieve using the tar command.
Therefore, if you use the mt command with the no rewind option for the tape device to step over the boot record you can then access the backup using tar.
Thus to check if you backup worked and to then retreive a file, put the tape in and enter:
mt -f /dev/rmt/0mn fsr 1 #forwards the tape
tar -tvf /dev/rmt/0m # will list all the files to check
Then rewind the tape and start again for your restore:
mt -f /dev/rmt/0mn rew
mt -f /dev/rmt/0mn fsr 1
tar -xvf /dev/rmt/0m [ your files ]
Best of luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top