Operating System - HP-UX
1834009 Members
3671 Online
110063 Solutions
New Discussion

Re: Make Tape Recovery question

 
Heath Ramos
Frequent Advisor

Make Tape Recovery question

I created an ignite tape and included all of vg00 on it.

Is it possible to restore a single directory from it w/o restoring the whole vg00?
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: Make Tape Recovery question

Hi,

Here is an ignite tip from

Patrick Wallek

To restore a single file from an Ignite/UX tape (make_tape_recovery):

# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -xvf /dev/rmt/?mn dir/filename

NOTE: That there is NOT a leading / or ./ on the path of the file you are restoreing.

Robert-Jan.

More ignite tips,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x95b83a1c04ffd61190050090279cd0f9,00.html
Patrick Wallek
Honored Contributor

Re: Make Tape Recovery question

Robert hit the nail on the head!

Thanks for the credit their too, Robert!

Michael Steele_2
Honored Contributor

Re: Make Tape Recovery question

Wha d'you say to all of this mutual admiration? Join the society?
Support Fatherhood - Stop Family Law
maafa
Advisor

Re: Make Tape Recovery question

the archive is gzipped so don't forget the z option of tar.
# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -zxvf /dev/rmt/?mn dir/filename

am I right?
Michael Duthie
Trusted Contributor

Re: Make Tape Recovery question

Its just a plain tar file, -z is not required.