Amanda-Users

Re: amrecover: No index records for disk for specified date

2003-02-17 10:16:10
Subject: Re: amrecover: No index records for disk for specified date
From: Toralf Lund <toralf AT procaptura DOT com>
To: Amanda Mailing List <amanda-users AT amanda DOT org>
Date: Mon, 17 Feb 2003 14:37:30 +0100
[ ... ]
> >What's the output of 'amadmin ks find mercedes-benz /usr/people/jfo'?
> Trying this helped me figure out what was wrong ;-) The command would
list
> the expected dates and tape names when executed as root, but as amanda,
I
> got "No dump to list", which made it quite obvious that the permissions
of
> some file required were wrong (I suspected that all along, but I wasn't

> able to spot the exact problem earlier.) It then turned out that
tapelist
> was no longer readable by amanda, for some reason. After a simple
chmod, I
> was able to restore the backup correctly.
>
> Question: Why didn't amrecover or the amindexd log tell me that the
> tapelist was unreadable?
>
If you ran amrecover as amanda-user, why didn't it tell you:
I didn't. The configs aren't read by amrecover, but by amindexd, which is always executed as amanda-user (as far as I can tell.) - Toralf