How to restore a single file from tape backup to a specific directory in AIX 6.1
by barataaway from LinuxQuestions.org on (#5DCF8)
Hi All,
I've inherited an AIX 6.1 box and I have to restore a single file from a tape device. The hardware is on another country and I don't have physical access to it - just remote access via putty.
So far I can see multiple rmt0 devices under /dev/ (rmt0, rmt0., rmt0.1, rmt0.2,.... rmt0.6)
Also, to list the files on the tape, I had to do Code:dd if=/dev/rmt0 bs=128k | tar tvf -. Commands like Code:restore -Tvf /dev/rmt0 just run into Code:"restore: 0511-260 the archive is not in backup format" errors
With that said, I tried to run Code:smit restfile, but I just get the same Code:"restore: 0511-260 the archive is not in backup format" error.
So, how should I proceed to restore a single file from that tape into a destination directory defined by myself?
Thank you.


I've inherited an AIX 6.1 box and I have to restore a single file from a tape device. The hardware is on another country and I don't have physical access to it - just remote access via putty.
So far I can see multiple rmt0 devices under /dev/ (rmt0, rmt0., rmt0.1, rmt0.2,.... rmt0.6)
Also, to list the files on the tape, I had to do Code:dd if=/dev/rmt0 bs=128k | tar tvf -. Commands like Code:restore -Tvf /dev/rmt0 just run into Code:"restore: 0511-260 the archive is not in backup format" errors
With that said, I tried to run Code:smit restfile, but I just get the same Code:"restore: 0511-260 the archive is not in backup format" error.
So, how should I proceed to restore a single file from that tape into a destination directory defined by myself?
Thank you.