Hi John,
On 28 Jun, John R. Jackson wrote:
>>> sethost localhost
>
> First recommendation is to *not* use localhost (in your disklist).
> ...
O.K., I changed it. But it doesn't matter.
>
> What date did amrecover say it used?
>
AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
220 pinguin AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2001-06-29)
200 Working date set to 2001-06-29.
200 Config set to gilsdorf.
501 No index records for host: pinguin. Invalid?
Trying pinguin.gilsdorf.de ...
200 Dump host set to pinguin.gilsdorf.de.
Can't determine disk and mount point from $CWD
amrecover> setdisk /etc
Scanning /mnt/win2000...
200 Disk set to /etc.
No index records for disk for specified date
If date correct, notify system administrator
> Looking in your index directory, you should have a directory named
> "localhost" and another named "_etc". Look in there for the gzip'd
> index files (in particular, for the datestamp amrecover mentioned).
> Are there any? Are they owned by the Amanda user (the one you configured
> amindexd to run as in inetd.conf)? Are they non-zero length? Do they
> seem to have good data in them (should be paths and file names)?
>
# ll /var/lib/amanda/gilsdorf/index/pinguin.gilsdorf.de/_etc
drwxr-sr-x 2 root root 64 Jun 29 09:27 .
drwxr-sr-x 3 root root 55 Jun 29 09:27 ..
-rw------- 1 root root 20008 Jun 29 09:27 20010629_0.gz
I can read it with zless, an it shows me the things I expect:
/
/SuSEconfig/
/WindowMaker/
/WindowMaker/SuSE/
/X11/
/X11/fs/
/X11/fvwm2/
...
> On the tape server, what's in /tmp/amanda/amindexd*debug?
>
> DISK /etc
< 200 Disk set to /etc.
> OISD /
< 500 No dumps available on or before date "2001-06-29"
> OISD /
< 500 No dumps available on or before date "2001-06-29"
> QUIT
< 200 Good bye.
> What happens if you run "amadamin gilsdorf find localhost /etc"?
>
# amadmin gilsdorf find pinguin.gilsdorf.de /etc
Scanning /mnt/win2000...
date host disk lv tape or file file status
2001-06-29 pinguin.gilsdorf.de /etc 0 tape01 1 OK
I found a strange output in /var/lib/amanda/gilsdorf/amdump.1:
SETTING UP FOR ESTIMATES...
setting up estimates for pinguin.gilsdorf.de:/etc
pinguin.gilsdorf.de:/etc overdue 11502 days for level 0
11502 days are 31 years ???
Same file:
GENERATING SCHEDULE:
--------
note.gilsdorf.de /etc 11502 0 1970:1:1:0:0:0 10565 352
pinguin.gilsdorf.de /etc 11502 0 1970:1:1:0:0:0 10445 348
-------
.
.
.
driver: send-cmd time 9.802 to dumper0: FILE-DUMP 00-00001
/mnt/win2000/20010629/pinguin.gilsdorf.de._etc.0 pinguin.gilsdorf.de /etc 0
1970:1:1:0:0:0 1073741824 GNUTAR 10528
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
driver: send-cmd time 9.802 to dumper1: FILE-DUMP 01-00002
/mnt/win2000/20010629/note.gilsdorf.de._etc.0 note.gilsdorf.de /etc 0 1970:1:1:0:0:0
1073741824 GNUTAR 10656
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
Seems to be a problem with time?
Frank