Amanda-Users

Re: Restoring from virtual tapes

2007-07-23 14:15:09
Subject: Re: Restoring from virtual tapes
From: up AT 3 DOT am
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Mon, 23 Jul 2007 14:08:46 -0400 (EDT)
Um, never mind...I was able to use amrestore with no problems, and for
what I was doing, it was probably better than amrecover anyway.

On Mon, 23 Jul 2007 up AT 3 DOT am wrote:

>
> OMG, I had those two commented out, because at one time, the amanda server
> was a client only.  It's now the server, and it's been backing up fine
> with just amandad in there.  I just uncommented restarted inetd, but now I
> get the following:
>
> AMRECOVER Version 2.5.0p2. Contacting server on ns1.pil.net ...
> 220 ns1 AMANDA index server (2.5.0p2) ready.
> 200 Access OK
> Setting restore date to today (2007-07-23)
> 200 Working date set to 2007-07-23.
> 501 Index directory /var/adm/amanda/colos/index does not exist
>
> I assume this is because amandixd never ran on that config.  The question
> now is, can this FS be restored, and if nos, how?
>
> Thanks!
>
> On Mon, 23 Jul 2007, Jean-Louis Martineau wrote:
>
> >
> > What is your xinetd configure on ns1.pil.net for the amandaidx and
> > amidxtaped services?
> >
> > Jean-Louis
> >
> >
> > up AT 3 DOT am wrote:
> > > I've restored amanda file systems in the past from tape using amrestore.
> > > However, I switched from tapes to vtapes several months ago and am trying
> > > to restore a file system.
> > >
> > > According to the FAQs and posts I saw searching various archives, one
> > > wants to use amrecover intead of amrestore for vtapes.
> > >
> > > Trying to run as user amanda, I am told it has to be run as root.  When I
> > > run it as root, I get this error:
> > >
> > > su-2.05b# amrecover -C colos
> > > AMRECOVER Version 2.5.0p2. Contacting server on ns1.pil.net ...
> > > amrecover: cannot connect to server.mydomain.net: Connection refused
> > >
> > > I then add the user root to ~amanda/.amandahosts, but it doesn't make a
> > > difference:
> > >
> > > (Partial) cat ~amanda/.amandahosts
> > >
> > > localhost.mydomain.net amanda
> > > server.mydomain.net amanda
> > > server.mydomain.net root
> > > localhost.mydomain.net root
> > >
> > > I also tried adding to this config's amanda.conf the following:
> > >
> > > amrecover_changer "file:/path/to/tapedev"
> > >
> > > And it didn't help.  What am I missing?
> > >
> > > TIA,
> > >
> > > James Smallacombe               PlantageNet, Inc. CEO and Janitor
> > > up AT 3 DOT am                                                        
> > > http://3.am
> > > =========================================================================
> > >
> > >
> > >
> > >
> > >
> >
> >
>
> James Smallacombe                   PlantageNet, Inc. CEO and Janitor
> up AT 3 DOT am                                                            
> http://3.am
> =========================================================================
>
>

James Smallacombe                     PlantageNet, Inc. CEO and Janitor
up AT 3 DOT am                                                      http://3.am
=========================================================================


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