Amanda-Users

amrecover: Index directory .../index does not exist - problem

2003-05-29 18:59:50
Subject: amrecover: Index directory .../index does not exist - problem
From: "Markus Diesing" <markus AT diesing DOT de>
To: amanda-users AT amanda DOT org
Date: Fri, 30 May 2003 00:54:51 +0200
Hi all,

my backups are running quite well since I joined the amanda users about 6 weeks 
ago. Furthermore, I tried to recover some of the stored data using amrecover 3 
times 
since I started using amanda. There were no problems at all.

Now I *need* to recover a file and I'm running into problems. Starting 
amrecover, I get 
the following lines:

fily01:/usr/local/etc/amanda/Oslo # amrecover
AMRECOVER Version 2.4.4. Contacting server on fily01 ...
220 fily01 AMANDA index server (2.4.4) ready.
200 Access OK
Setting restore date to today (2003-05-30)
200 Working date set to 2003-05-30.
501 Index directory /data/amanda/var/Oslo/index does not exist
amrecover>

The question is, why does amanda complain about the /index folder? It does 
exist, 
containing nothing but two directories with the names of the two clients backep 
up. 
Those contain more directories with the disks backed up and these finally got a 
couple 
of .gz files in it.

My amanda.conf file reads as follows:

infofile "/data/amanda/var/Oslo/curinfo"        # database DIRECTORY
logdir   "/data/amanda/var/Oslo/"                   # log directory
indexdir "/data/amanda/var/Oslo/index"         # index directory

and all the directories do exist. 

When I'm trying to set the disk unsing the setdisk command, I get 
501 Must set config,host before setting disk
and trying sethost produces 
amrecover> sethost fily01.local
501 Must set config before setting host.
Trying host fily01.local ...
501 Must set config before setting host.
Trying host fily01 ...
501 Must set config before setting host.

which doesn't make sense to me because the config is set to Oslo by default. 
The 
same problem arise if I'm calling amrecover defining all the necessary 
parameters 
(amrecover -C Oslo -s fily01.local -t fily01.local)

The debug files show the following lines

fily01:/tmp/amanda # less amindexd.20030530012956.debug
amindexd: debug 1 pid 9137 ruid 505 euid 505: start at Fri May 30 01:29:56 2003
amindexd: version 2.4.4
amindexd: time 0.001: < 220 fily01 AMANDA index server (2.4.4) ready.
amindexd: time 0.002: > SECURITY USER root
amindexd: time 0.002: bsd security: remote host fily01.local user root local 
user 
amanda
amindexd: time 0.002: amandahosts security check passed
amindexd: time 0.003: < 200 Access OK
amindexd: time 0.038: > FEATURES fffffeff9ffe0f
amindexd: time 0.039: < 200 FEATURES fffffeff9ffe0f
amindexd: time 0.078: > DATE 2003-05-30
amindexd: time 0.079: < 200 Working date set to 2003-05-30.
amindexd: time 0.118: > SCNF Oslo
amindexd: time 0.123: < 501 Index directory /data/amanda/var/Oslo/index does 
not 
exist

and 

fily01:/tmp/amanda # less amrecover.20030530012956.debug
amrecover: debug 1 pid 9136 ruid 0 euid 0: start at Fri May 30 01:29:56 2003
amrecover: stream_client_privileged: connected to 127.0.0.2.10082
amrecover: stream_client_privileged: our side is 0.0.0.0.932
amrecover: pid 9136 finish time Fri May 30 01:33:12 2003

Could someone please help me? I think I went through all the files (which I 
didn't 
touch since the last successful recovey) but didn't find a hint what the 
problem could 
be. 

Thanks in advance for your help!

Markus





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