Amanda-Users

RE: Need help restoring: -p doesn't seem to work

2006-07-25 17:54:19
Subject: RE: Need help restoring: -p doesn't seem to work
From: "Sean Noonan" <noonans AT get1free DOT com>
To: <amanda-users AT amanda DOT org>
Date: Tue, 25 Jul 2006 14:45:09 -0700
<snip>
> >
> > Suggestions anyone?
> 
> Use the -h option of amrestore to confirm if it was compressed,
> probably with gzip.
> 
> If that is the case you will have to put a gzip -d command in
> the pipeline between amrestore and restore.
> 
> --
> Jon H. LaBadie                  jon AT jgcomp DOT com
>  JG Computing
>  4455 Province Line Road        (609) 252-0159
>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Hi Jon,

Thanks for the reply.  I'm quite sure it was gzip compressed, the amanda
config files specifies "compress client fast" for this volume.  Still no
love, though.  Here's what I got:


freebee# amrestore -p /dev/nsa0 freebee aacd0s1f | gzip -d | restore -ivf -
Verify tape and initialize maps
amrestore: missing file header block
amrestore:   2: skipping freebee.aacd0s1e.20060721.0
amrestore:  10: reached end of information

gzip: stdin: unexpected end of file
End-of-tape encountered
Tape is not a dump tape
freebee#

Any other/more ideas?

--Sean Noonan