Amanda-Users

Re: amrecover: Why does it use disklist and log files

2003-10-22 14:54:39
Subject: Re: amrecover: Why does it use disklist and log files
From: Toralf <toralf AT procaptura DOT com>
To: Amanda Mailing List <amanda-users AT amanda DOT org>
Date: Wed, 22 Oct 2003 20:48:13 +0200
Jean-Louis Martineau wrote:

Hi Toralf,

On Wed, Oct 22, 2003 at 10:09:56AM +0200, Toralf Lund wrote:
As far as I can't tell, amrecover won't work unless

 1. Log file from the backup you are trying to recover is still present

The log are needed to find which dump are on which tape and where on that tape.
Isn't that information in the index and/or "curinfo"?

 2. DLE is still in the disklist

That's what amanda use, but for some command (eg, amrecover, amadmin find, ...)
it should build its disklist dynamicaly from the log file? That will help
a lot if you remove an entry from your disklist.
Quite.

Why? Shouldn't amrecover work from the index alone?

Having an index doesn't mean that the dump is somewhere.
And having the logfile does?

Seems more logical to me to view the amanda *database* as the authoritative information, and logfiles as purely informative data that may be removed at the user's discretion

- Toralf



<Prev in Thread] Current Thread [Next in Thread>