Amanda-Users

restore not finding all incremental levels

2007-04-17 22:48:04
Subject: restore not finding all incremental levels
From: Paul Yeatman <pyeatman AT mamacass.ucsd DOT edu>
To: "Amanda user's group" <amanda-users AT amanda DOT org>
Date: Tue, 17 Apr 2007 19:13:09 -0700
Hi, I'm testing my backup system and am finding something unexpected.

I'm using amanda 2.4.4p3-1 on a server running RedHat linux ES 4.
The restore I'm attempting is performed all on the server using a
spare disk on the server.

When I run amrecover and add--"add ."--a partition that has 7 levels of
incrementals and then type "list", it shows the tape (actually the
server is a tapeless server so it is really on disk) with the original
full backup on it and then levels 6 and 7 on the holding disk.  All
other levels are skipped.  Levels 1-5 are not included in the
planned restore.

I would expect it to restore the latest of each incremental level
1-7.  I currently have several holding disks and can confirm that the
incremental directories that an 'amadmin info' shows for the same
partition exist.  When "amrecover" is executed, it shows "found amanda
directory" from all expected holding disks and holding disk directories
and the directories needed for this restore in particular.  If I
remove the holding disk from amanda.conf that "holds" levels 6 and 7,
then no levels after the original "tape" are listed in the planned
restore.

This particular partition was backed up in 2005-05-04.  On the first
holding disk, the latest level 1 is in inc directory 20050509, the
latest level 2 is in 20060510, and then the rest of the incremental
directories on the holding disk (until the next holding disk) are level
3's for this partition.  If I include only this one holding disk in my
amanda.conf, this is what the "amindexd.20070417184329.debug" shows
(full file attached)

amindexd: time 69.178: removing index file: 
/etc/amanda/cass/index/cass246/_/200 60504_0
amindexd: time 69.182: removing index file: 
/etc/amanda/cass/index/cass246/_/200 60509_1
amindexd: time 69.182: removing index file: 
/etc/amanda/cass/index/cass246/_/200 60510_2
amindexd: time 69.182: removing index file: 
/etc/amanda/cass/index/cass246/_/200 60525_3
amindexd: time 69.183: < 200 Good bye.
amindexd: time 69.183: pid 29011 finish time Tue Apr 17 18:44:39 2007

Why is it "removing index file: <blah>"?

Thanks,

Paul



-- 
Paul Yeatman       (858) 534-9896        pyeatman AT ucsd DOT edu
             ==================================
             ==Proudly brought to you by Mutt==
             ==================================

Attachment: amindexd.20070417184329.debug
Description: Text document