I am trying to use amrecover and it claims it cannot find indexes. The message is as
follows:
# /usr/local/sbin/amrecover sherpa
AMRECOVER Version 2.4.2p2. Contacting server on basecamp ...
220 basecamp AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2001-05-16)
200 Working date set to 2001-05-16.
200 Config set to sherpa.
200 Dump host set to basecamp.
$CWD '/etc' is on disk '/' mounted at '/'.
200 Disk set to /.
No index records for disk for specified date
If date correct, notify system administrator
Invalid directory - /etc
amrecover>
But if I look in /usr/adm/amanda/sherpa/index/basecamp.sapient.com/_ there is a file
named 20010516_0.gz that seems to contain the indexes. The contents look like:
---snip----
07300354473/./etc/
07300354473/./etc/SnmpAgent.d/
07300354473/./etc/X11/
07300354473/./etc/X11/C/
07300354473/./etc/X11/C.iso88591/
07300354473/./etc/X11/C/print/
07300354473/./etc/X11/C/print/attributes/
07300354473/./etc/X11/de_DE.iso88591/
07300354473/./etc/X11/fr_FR.iso88591/
07300354473/./etc/X11/fs/
07300354473/./etc/X11/lbxproxy/
---snip----
Is amanda having trouble talking to the index server? The contents of the debub file
in /tmp/amanda/amrecover.20010516141645.debug are:
amrecover: debug 1 pid 27507 ruid 0 euid 0 start time Wed May 16 14:16:45 2001
amrecover: stream_client: connected to 10.208.1.137.10082
amrecover: stream_client: our side is 0.0.0.0.816
amrecover: pid 27507 finish time Wed May 16 14:17:03 2001
The contents of the debug file /tmp/amanda/amindexd.20010516141645.debug are:
amindexd.2001051614164: No such file or directory
> SECURITY USER root
bsd security: remote host basecamp.sapient.com user root local user amanda
amandahosts security check passed
< 200 Access OK
> DATE 2001-05-16
< 200 Working date set to 2001-05-16.
> SCNF sherpa
< 200 Config set to sherpa.
> HOST basecamp
< 200 Dump host set to basecamp.
> DISK /
< 200 Disk set to /.
> DISK /
< 200 Disk set to /.
> OISD /
< 500 No dumps available on or before date "2001-05-16"
> OISD /
< 500 No dumps available on or before date "2001-05-16"
> OISD /etc
< 500 No dumps available on or before date "2001-05-16"
> QUIT
< 200 Good bye.
amindexd: pid 27508 finish time Wed May 16 14:17:03 2001
Any ideas?
Thanks,
Ian Prowell