Article 5DCF8 How to restore a single file from tape backup to a specific directory in AIX 6.1

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.latest?d=yIl2AUoC8zA latest?i=phCOyA6M600:XdUxvg40s08:F7zBnMy latest?i=phCOyA6M600:XdUxvg40s08:V_sGLiP latest?d=qj6IDK7rITs latest?i=phCOyA6M600:XdUxvg40s08:gIN9vFwphCOyA6M600
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments