Wednesday, April 29, 2009

HP-UX : Extract one file from a make_tape_Recovery

To check the contents of the recovery tape ( assuming the tar archive and 0m/n as device file )
# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar tvf /dev/rmt/0m

To extract a file from the archive
# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar xvf /dev/rmt/0m

:: Don't try this at work :-)


No comments:

Post a Comment