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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX 4.3 mksysb on a 8mm tape incomplete

Status
Not open for further replies.

gontxxal

IS-IT--Management
Jan 20, 2006
2
ES
it's done 97% , any body knows how to recover the fs of the tape if the tape it's done the 97 % of the system backup ? I would really appreciate your help ! We need to recover a data filesystem from the tape but the mksysb broke at 97%.
 
If the filesystem is completely on the tape (you can't be sure it is, because the backup is a backup of a generated file list, not fs per fs.

put tape in drive (say /dev/rmt0)
issue the following command to put the tape at the begin-point of the files backup (skips three tape files)

# tctl -f /dev/rmt0.1 fsf 3

then the following command to restore the mountpoint directory and all files/dirs under it

# restore -xd -f/dev/rmt0.1 ./fs/mount/point

note: rmt0.1 - non rewind on close tape drive - very important for these type of restores

also note: ./fs/mount/point - that is the way the files are backed up. It also means you are restoring relative to your current dir, handy if you want to restore the filesystem somewhere else.

You can also do the same tctl fsf 3, followed by restore -f/dev/rmt0.1 -T to see the filenames stored on the tape.

If you list first, then rewind the tape before positioning again:

# tctl -f/dev/rmt0.1 rewind


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top