i'm getting the same problem too. Makes it impossible to use amrecover to restore data
Michael Martinez System Administrator (Contractor) Information Systems and Technology Management CSREES - United States Department of Agriculture (202) 720-6223 -----Original Message----- From: John D. Bickle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 12:06 PM To: Simas Cepaitis Cc: 'Jon LaBadie'; '[EMAIL PROTECTED]' Subject: RE: amrecover: No index records for disk for specified date Hi folks. i am having the exact same problem. I have checked the following: 1. Version of tar is upgraded 2. The backups themselves are successfull 3. The index files are indeed present where they should be 4. the correct index directory is specified in amanda.conf 5. the amanidx/tcp service is specified in /etc/services on the client machine eg. : amanda 10080/udp # amanda added by jdb 2002-05-15 amandaidx 10082/tcp # amanda added by jdb 2002-05-15 amidxtape 10083/tcp # amanda added by jdb 2002-05-15 6. these services are available on the server machine (redhat 7.2) and in addition being in /etc/services, are also correctly present in xinetd. 7. If it type the history command, the backup for that particular host is listed correctly. Can someone please point me in the right direction? thanks, john. Here is the output from amrecover (domain names removed to protect the innocent). bash-2.05# amrecover -s serverhost.XXXX.net AMRECOVER Version 2.4.2p2. Contacting server on monitor.rvbs.net ... 220 monitor AMANDA index server (2.4.3b3) ready. 200 Access OK Setting restore date to today (2002-05-29) 200 Working date set to 2002-05-29. 200 Config set to DailySet1. 501 No index records for host: www. Invalid? Trying www.xxxxxxxx(client domain).com ... 200 Dump host set to www.(client domain).com. $CWD '/usr/local/src' 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 - /usr/local/src amrecover> quit 200 Good bye. Simas Cepaitis wrote: > Hello, > > > -----Original Message----- > > From: Jon LaBadie [mailto:[EMAIL PROTECTED]] > > Sent: Monday, May 27, 2002 8:35 PM > > To: Simas Cepaitis > > Subject: Re: amrecover: No index records for disk for specified date > > > > > > > > Any chance your disklist uses localhost rather than a hostname? > > No, I use full hostname. For example, > > sunny.5ci.lt /usr { > always-full > exclude list "/usr/local/etc/amanda/test/.exclude" > compress server fast > } -1 local > > > If using tar, maybe a bad release of tar. gunzip one of the > > indexs. See if each line begins with a long number. That is > > one sign of a bad tar. > > I tried using both gnutar (version 1.13.25) and native FreeBSD tar. > > # pwd > /usr/local/etc/amanda/test/index/sunny.5ci.lt/_usr > #zmore 20020527_0.gz > / > /bin/ > /bin/cu > /bin/uucp > /bin/uulog > /bin/uuname > /bin/uupick > /bin/uusched > ........... > ........... > > I don't think that is a tar problem. Somehow I believe that rather > directory with indexes is not found. Is there any option to enable > debug mode or something to see more in logs? Because now > they aren't providing much use (amrecover for example)... :( > > > Simas Cepaitis > [EMAIL PROTECTED]