Amanda-Users

RE: Amanda: amrecover on amanda cient fails

2003-05-12 20:13:45
Subject: RE: Amanda: amrecover on amanda cient fails
From: Frank Smith <fsmith AT hoovers DOT com>
To: Gibran Marquez <gmarquez AT indyme DOT com>, "Amanda Users (E-mail)" <amanda-users AT amanda DOT org>
Date: Mon, 12 May 2003 19:10:03 -0500


--On Monday, May 12, 2003 16:47:39 -0700 Gibran Marquez <gmarquez AT indyme DOT 
com> wrote:

Thanks Joshua and Frank! It worked...

Get past last issue, however any reason why NO index records are found? Any
file I need to create or modify? Where's this index referencing to? Any
relation to the change on the amanda.conf and adding "index yes", would
backups need to be dumped after this change for the new index to be
created???

Indexes are created at the same time a DLE is backed up, if indexes are enabled
in your dumptype.  Since they were disabled, you won't have any until your
next backup, and not a complete set until your next level 0.  Indexes just
enable you to browse around your backups and pick pieces to restore.  You
can still do restores without them, it's just not as convenient if you only
want a few files restored.

Actually looks like looking for index on the client (localhost). Where does
it look for on client based on the output from the amrecover command.

It looks like it's guessing.  If where you are doesn't match a DLE you might
need to do a sethost (or setdisk if in a different directory) command to tell
Amanda which host and DLE you are trying to restore.

Frank


Just some thoughts???...

-------------

[root@filer luser]# amrecover -s backup -C DailySet2
AMRECOVER Version 2.4.3. Contacting server on backup ...
220 backup AMANDA index server (2.4.3) ready.
200 Access OK
Setting restore date to today (2003-05-12)
200 Working date set to 2003-05-12.
200 Config set to DailySet2.
501 No index records for host: filer.indyme.local. Invalid?
Trying host filer.indyme.local ...
501 No index records for host: filer.indyme.local. Invalid?
Trying host localhost.localdomain ...
501 No index records for host: localhost.localdomain. Invalid?
Trying host localhost ...
501 No index records for host: localhost. Invalid?

------------



-----Original Message-----
From: Joshua Baker-LePain [mailto:jlb17 AT duke DOT edu]
Sent: Monday, May 12, 2003 4:07 PM
To: Gibran Marquez
Cc: Amanda Users (E-mail)
Subject: Re: Amanda: amrecover on amanda cient fails


On Mon, 12 May 2003 at 3:55pm, Gibran Marquez wrote

Amrecover from client where testing files that need to be restored (client
is "filer" and amanda server is "backup"):
-------------
[root@filer luser]# amrecover -s backup
AMRECOVER Version 2.4.3. Contacting server on backup ...
220 backup AMANDA index server (2.4.3) ready.
500 Access not allowed: [access as amanda not allowed from root@filer]
amandahostsauth failed
-------------

You need a line in ~amanda/.amandahosts that looks like this:

filer    root

--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University



--
Frank Smith                                             fsmith AT hoovers DOT 
com
Systems Administrator                                  Voice: 512-374-4673
Hoover's Online                                          Fax: 512-374-4501

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