Amanda-Users

Re: Problem with amrecover

2005-02-04 06:34:48
Subject: Re: Problem with amrecover
From: "soed2003" <soren AT edzen DOT org>
To: amanda-users AT amanda DOT org
Date: Fri, 04 Feb 2005 11:21:07 -0000
--- In amanda-users AT yahoogroups DOT com, Jon LaBadie <jon@j...> wrote:
> On Sat, Jan 22, 2005 at 02:45:40PM +0100, Sören Edzen wrote:
> > Hi!
> > 
> > I have problem using amrecover. I get the following output:
> > 
> > amidxtaped: time 0.002: Ready to execv amrestore with:
> > path = /usr/local/sbin/amrestore
> > argv[0] = "amrestore"
> > argv[1] = "-p"
> > argv[2] = "-h"
> > argv[3] = "/dev/nst0"
> > argv[4] = "^zampo.edzen.net$"
> > argv[5] = "^/usr/local/cvsroot$"
> > argv[6] = "20050115"
> 
> As the exact amrestore command is shown,
> can you reproduce the error by running it manually?
> 
> If so, it may be time to try and pull off manually
> some of the tape files and see if they are recorded
> correctly.  This will involve using mt and dd commands.
> Then tar or dump on the result.
> 
> -- 
> Jon H. LaBadie                  jon@j...
>  JG Computing
>  4455 Province Line Road        (609) 252-0159
>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Hi 
I tried the exact amrestore command and got this:

amrestore -p -h /dev/nst0 ^zampo.edzen.net$ ^/usr/local/cvsroot$ 20050204
amrestore:   0: skipping start of tape: date 20050202 label zampo102
amrestore:   1: skipping zampo.edzen.net._home_soredz_.mutt.20050202.0
amrestore: error reading file header: Input/output error

How to restore with dd? mt is used to rewind the tape, right?

Any ideas? I'm getting desperate. First I had trouble getting amanda to perform 
the 
backups. Then when I finally made it I cant restore anything. 






<Prev in Thread] Current Thread [Next in Thread>