Hello,

Thank you to everyone that has replied so far, but I still dont have it
working 100%.


Here is where I am.  I have everything compiled and installed correctly (I
believe).  I can run amcheck w/o error.  I can run amdump just fine.  I
see all the correct gnutar/gpg/gzip processes and amanda writes something
to tape correctly.

The issue is that I am unable to restore.  If I attempt to restore from
tape, it finds the dump and then errors like so:

archivehost:/tmp# amrestore -p /dev/nst0 hostname /tmp | tar tvpf -
amrestore:   0: skipping start of tape: date 20020219 label CheckTape0
amrestore:   1: restoring hostname._tmp.20020219.0

gzip: stdin: not in gzip format
archivehost:/tmp#

As I stated yesterday if I take the gpg.debug file in /tmp on the host I
am archiving I can extract it perfectly with no problems.

somehost:/tmp/amanda# gpg -d --homedir=/var/backups/.gnupg/ -r
[EMAIL PROTECTED] /tmp/gpg.debug  | tar tvfp -

You need a passphrase to unlock the secret key for
user: "asdfg (asdf) <[EMAIL PROTECTED]>"
1024-bit ELG-E key, ID 16B3ABDC, created 2002-02-15 (main key ID ED601E09)

drwxrwxrwt root/root       113 2002-02-19 15:57:06 ./
drwx------ backup/backup    64 2002-02-19 16:03:24 ./amanda/
-rw-r--r-- root/root        13036 2001-10-23 12:19:04 ./t
-rwxr-xr-x root/root       462408 2001-10-23 12:16:28 ./tar
-rw-r--r-- root/root           16 2001-10-23 12:24:00 ./test
-rw-r--r-- root/root      5013128 2001-10-23 16:15:04 ./test.tgz
-rw------- backup/backup     2096 2002-02-19 16:03:24 ./amanda/amandad.debug
-rw------- backup/backup      291 2002-02-19 16:03:24  ./amanda/runtar.debug
-rw------- backup/backup     1251 2002-02-19 16:03:24 ./amanda/sendbackup.debug
-rw------- backup/backup     1186 2002-02-19 16:02:57 ./amanda/sendsize.debug
somehost:/tmp/amanda#


So what I for the life of me cannot figure out is why does the gzip
wrapper script redirect its output to /tmp/gpg.debug, and why is that not
getting on tape?  If that is not getting on tape then what is?

Thankyou again in advance.

Andrew

Reply via email to