Eureka!  It seems I had a bit of a compound problem.  there *was*
an issue with the log files, but after I followed your advice and
put the logfile back into $logdir, amanda seemed to dislike the
fact that the tape wasn't rewound (but didn't bother to report it
:/).  after doing an mt r and having the log file in the proper
location, it worked like a champ.  Thank you much Jean and Rebecca!!

--Chris


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Louis Martineau
Sent: Thursday, January 24, 2002 1:00 PM
To: Chris Noon
Cc: [EMAIL PROTECTED]
Subject: Re: amrecover can't find index files...
I found the log file in $logdir/oldlog .  I don't know if this
oldlog dir was setup by amamda (couldn't find any mention of it in
amanda.conf), so I tried moving it back to the logdir.  I ran
amrecover again and it found the logfile, but still couldn't find the index.

amrecover> setdisk c1t6d0s7
200 Disk set to c1t6d0s7.
No index records for disk for specified date
If date correct, notify system administrator

Although, I'm pretty sure I recall getting the no log file warnging
before, yet it still finding the index.  Are you sure that the log
file is a prerequisite for finding the indexes?

--Chris

On Thu, Jan 24, 2002 at 12:14:11PM -0500, Chris Noon wrote:
> Hello all,
> I'm having a problem restoring from tape.  Here's what it spits back:
>
> amrecover> setdate 2002-01-09
> 200 Working date set to 2002-01-09.
> amrecover> sethost host1
> 200 Dump host set to host1.
> amrecover> setdisk c1t6d0s7
> Warning: no log files found for tape user-week-3 written 2002-01-09

The index will not be found if the log file is not there?
Where is your log file (log.20020109.0)?

Jean-Louis

> 200 Disk set to c1t6d0s7.
> No index records for disk for specified date
> If date correct, notify system administrator
>
>
> The file 'host1/c1t6d0s7/20020109_0.gz' does indeed exist in the
indexdir as
> specified in amanda.conf.  I've heard about some versions of tar can screw
> up the index file (adding extra numbers to the start of each line), so I
> checked and they look fine.
> >From 'hots1/c1t6d0s7/20020109_0.gz':
>
> /rootmail/logsold/585
> /rootmail/logsold/586
> /rootmail/logsold/587
> /rootmail/logsold/588
> /rootmail/logsold/589
> /rootmail/logsold/590
> /rootmail/logsold/591
> /quotas
> /coolbay/
> /coolbay/.mail
>
> I've every thing I can think of, and am running out of options.  Any
> suggestions would be greatly appreciated.
>
> --Chris

--
Jean-Louis Martineau             email: [EMAIL PROTECTED]
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

Reply via email to