Perhaps someone of you can help me again.
Iīve dumped a disk with amanda and GNUTAR. Now i am trying to write a
script for the restore with  a graphical interface. But amrestore seems
to have a bug. When i try

$> opt/sbin/amrestore -p $TAPE $AM_HOSTTYP $ARGUMENT | tar xv

where TAPE is /dev/nst0
HOSTTYPE this.is.my.host
ARGUMENT /var  (the directory on tape)

i get the message

tar: Hmm, this doesn't look like a tar archive
tar: Skipping to next file header

and the script ends.

If I start it "by hand" again. the result is the same but tar hangs on
an i couldnīt kill it. Even not with kill -9
So itīs no problem of the script .

Iīam using
GNU tar 1.12
Amanda-2.4.1p1

Reply via email to