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:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.