Ray,
The "f" flag to gnutar designates the file you are
attempting to manipulate. In this case, tar is trying to do
a verbose extraction from the file /etc/autorpm.d, and complaining,
as appropriate, that it's a directory. Amanda is then telling
you that the pipe (to the tar command) was broken, and it can't
deal with the problems.
So, really, you're seeing the expected behavior for the
commands and options that you're using.
Dan Shauver
HortResearch UNIX Dude
>
>I am trying to restore one directory from the archive that was
>created using Amanda-2.4.2 and Gnutar however seem to be having
>a problem using Amrestore.
>Here is what I trying:
>
>amrestore -p /dev/st0 ray hda8 | tar xvf /etc/autorpm.d .
>
>But I get the errors:
>
>tar: etc/autorpm.d: Cannot read: Is a directory
>tar: At beginning of tape, quitting now
>tar: Error is not recoverable: exiting now
>amrestore: 0: skipping start of tape: date 20000326 label vol1
>amrestore: 1: skipping ray.ray.clark.net.hda9.20000326.0
>amrestore: 2: skipping ray.ray.clark.net.hda1.20000326.0
>amrestore: 3: skipping ray.ray.clark.net.hda7.20000326.0
>amrestore: 4: restoring ray.ray.clark.net.hda8.20000326.0
>Error 32 (Broken pipe) offset 0+32768, wrote 0
>amrestore: pipe reader has quit in middle of file.
>amrestore: skipping ahead to start of next file, please wait...
>
>However if I try:
>
>amrestore -p /dev/st0 ray hda8 | tar xv /etc/autorpm.d .
>
>This lists all the files correctly in the archive.
>
>Any and suggestions welcomed,
>
>Thanks,
>
>--
>mailto:[EMAIL PROTECTED] http://www.clark.net/pub/ray
>============================================================================