[ale] tar restore help

Gary Maltzen maltzen at mm.com
Wed Jun 23 15:19:45 EDT 1999


When you use

  tar xvf /dev/st0 /

you are telling tar to extract *only* "/". If you do a

  tar tvf /dev/st0

you will notice that tar has 'relativized' file names so that

  /bin/rm  -becomes-  ./bin/rm  -or-  bin/rm

thus there is no "/" in the archive. To extract the entire archive into "/",
use

  cd / ; tar xvf /dev/st0

-----Original Message-----


I have a SCSI tape drive (/dev/st0) onto which I can archive all my
files by using tar cvf /dev/st0 /

I can list the tape's contents with tar tvf /dev/st0 and can monitor the
drive's status with mt -f /dev/st0 status

However when I try to extract (restore) the files with tar xvf /dev/st0
/ the tape runs and runs finally telling me that
tar: / Not found in archive
tar: Error exit delayed from previous errors

Am I naming the archive correctly? I tried using '/home/myname' instead
of '/' Still didn't work.






More information about the Ale mailing list