Amanda-Users

Re: amrecover problem with changer

2003-03-21 04:20:33
Subject: Re: amrecover problem with changer
From: Eric.Doutreleau AT int-evry DOT fr
To: Jon LaBadie <jon AT jgcomp DOT com>
Date: Fri, 21 Mar 2003 08:45:28 +0100 (CET)
On Fri, 21 Mar 2003, Jon LaBadie wrote:


> On Thu, Mar 20, 2003 at 05:30:14PM -0800, Stephen Walton wrote:
> > I am trying a test amrestore of some files after amanda has run for a
> > bit on a RedHat 8.0 system with an HP DDS-3 6-tape changer.  The backups
> > are fine, as are the automatic tape changes;  I can get at all of my
> > backups manually with dd and tar.  However, amrestore is not happy.
> > 
> > The details:   I'm using amanda 2.4.3 compiled locally (no RedHat RPM
> > for me).  'tapedev "0"' appears in amanda.conf since I'm using a
> > changer.
> 
> You are using a changer to change the tapes.
> You are still using a tape device to read and write the tapes.
> 
> > amidxtaped.*.debug reveals that amrecover, when used, exec's "amrestore
> > -h -p 0" followed by the usual remaining arguments.  Of course this
> > fails, since there is no file or device named "0" which amrestore can
> > get at.
> 
> Have you tried setting tapedev to your tape device?
> 
> 

amrecover doesn't use the device that is returned by the changer prior
the 28022003 shanpshot ( it s a snapshot after the 2.4.4 release ).

Moreover you have to configure this parameter in your amanda.conf

amrecover_changer "glopglop"        # amrecover will use the changer if 
you restore

and to lauch amrecover -d glopglop to make amidxtaped use the changer.

Hope that helps


-- 
Eric Doutreleau
I.N.T                   | Tel   : +33 (0) 160764687
9 rue Charles Fourier   | Fax   : +33 (0) 160764321
91011 Evry   France     | email : Eric.Doutreleau AT int-evry DOT fr


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