I need to restore 1 file from 1 tape created with vxdump on a HP Ultrium 400 tape. Didn't think it would be that hard until the prompts of vxrestore caused some confusion.
Tape has 13 EOM (end of job markers). Our partitions (6) from the 1st backup and 6 from 2nd backup.
mt -f /dev/ntape fsf 13 takes me to the partition I want the file from.
[3] % vxrestore -i
vxrestore > cd tmp
vxrestore > ls
./tmp:
Friday-050908-0015.date Tuesday-050608-0015.date
Saturday-051008-0015.date Wednesday-050708-0015.date
Thursday-050808-0015.date
vxrestore > add Wednesday-050708-0015.date
vxrestore > ls
./tmp:
Friday-050908-0015.date Tuesday-050608-0015.date
Saturday-051008-0015.date *Wednesday-050708-0015.dat
e
Thursday-050808-0015.date
vxrestore > extract
Specify next volume #: 13
Enter ``none'' if there are no more tapes
otherwise enter tape name (default: /dev/rmt/0m) none
UX:vxfs vxrestore: ERROR: V-3-22398: Cannot open none
Specify next volume #: 1
Mount tape volume 1
Enter ``none'' if there are no more tapes
otherwise enter tape name (default: none) none
UX:vxfs vxrestore: ERROR: V-3-22315: ./tmp/Wednesday-050708-001
5.date: not found on tape
set owner/mode for '.'? [yn] n
I don't understand the volume prompt or why it is asking for the tape info?
Do I just insert the tape and when prompted for the volume type in 13
Can I just return thru the prompts while at the 13th position on tape.
Thank you.
Start Free Trial