RE: amrecover: Unexpected end of file
2005-05-11 15:36:45
I ran "amrestore -C /dev/nst0 <host> <disk>", I got the same error
"amrestore: 1: reached end of tape: date 20050510" Thanks, lei
-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Kee Gohil
Sent: Wednesday, May 11, 2005 2:59 PM
To: amanda-users AT amanda DOT org
Subject: Re: amrecover: Unexpected end of file
I had the same problem and I believed that the file must have been
prematurely truncated. In the end it worked fine with amrestore to grab
the amanda file from tape
amrestore -C /dev/nst0 fs0 var
and then manually restoring the contents of that file (mine was a dump
file).
gunzip -c /dumpfile/fs0._home.20050420.0 | restore -r -f -
Hull, Dave wrote:
> I've had similar problems in the past for unknown reasons. In several
instances running amverify <config> on the tape in question has been
enough to correct the problem and allow me to restore.
>
> Good luck.
>
|
|
|