Amanda-Users

Re: Restoring a blown-up server; determining which tapes havethe backup

2003-08-29 11:06:40
Subject: Re: Restoring a blown-up server; determining which tapes havethe backup
From: "Kurt Yoder" <kyoder AT shcorp DOT com>
To: "Paul Bijnens" <paul.bijnens AT xplanation DOT com>
Date: Fri, 29 Aug 2003 10:54:56 -0400 (EDT)
Paul Bijnens said:
> Kurt Yoder wrote:
>
>> I don't think this would work. AFAIK, you can't back up the index
and log files for the current backup onto the current backup.
>> Plus,
>> there's no way to guarantee that this partition is the last one
backed up onto tape. Plus, even if you could guarantee that,
there
>> would be no way of knowing how many backup images are on the
tape,
>> so you couldn't do "mt fsf <somenumber>" to get to where you want to
>> be on tape.
>
> Oh yes there is.  A quick and dirty way:
>
>    amdump YourConf  &&  tar -zcf /dev/nst0 /var/lib/amanda

True; hadn't thought of that.

I wonder if it would be worthwhile to put in a feature request for
Amanda: store current tape's index & backup information at the
beginning of the tape before anything else is written. Could be set
as an option for those who would want this kind of thing.

-- 
Kurt Yoder
Sport & Health network administrator