On Tue, Jun 8, 2010 at 3:58 PM, Marc Muehlfeld
<[email protected]> wrote:
> > Tue Jun 8 16:39:14 2010: amidxtaped: CTL << LABEL=KDD174:29
..
> > Tue Jun 8 16:39:18 2010: amidxtaped: CTL >> MESSAGE Specified file list
> matches multiple dumps; cannot continue recovery
So what's happening here is that amidxtaped is looking for the
dumpfile at that particular label:filenum, and then making sure it
finds all of the required parts of that dump. The error occurs when
the label:filenum pairs specified cover more than one dumpfile. With
only one filenum specified, it shouldn't be able to find more than one
dump.
Do you happen to have multiple volumes with that label? That would be
weird, but worth asking.
Could you edit up perl/Amanda/Recovery/Planner.pm as follows:
400 my @filelist = @{$params{'filelist'}};
401 while (@filelist) {
402 my $label = shift @filelist;
Amanda::Debug::debug("LABEL $label");
403 push @labels, $label;
404 $files{$label} = shift @filelist;
Amanda::Debug::debug("FILES " . join(" ", @{$files{$label}}));
405 }
...
419 my %dumps = map { my $d = $_->{'dump'}; ($d, $d) } @parts;
use Data::Dumper;
Amanda::Debug::debug("".Dumper([ %dumps ]);
420 my @dumps = values %dumps;
and try again?
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com