On Wednesday 17 July 2002 08:13, Phil Launchbury wrote:
>On Wed, 2002-07-17 at 02:24, Jon LaBadie wrote:
>> On Tue, Jul 16, 2002 at 05:06:31PM +0100, Phil Launchbury wrote:
>> > On Tue, 2002-07-16 at 15:50, Gene Heskett wrote:
>> > > On Tuesday 16 July 2002 06:13, Phil Launchbury wrote:
>> > > >What's going on? Amanda is expecting Tape1 and amdump fails
>> > > > yet amtape quite clearly shows the tape in the slot!
>> > >
>> > > Didja change the tape label string specification to match
>> > > something like  "^Tape[0-9][0-9]?  This is the
>> > > "labelstr" line in amanda.conf, and mine, for "DailySet1"
>> > > looks like this:
>> > >
>> > > labelstr        "^DailySet1-[0-9][0-9]*$"       # label
>> > > constraint regex: all tapes must match
>> >
>> > Yes - I set up the tape label string in the amanda.conf..
>>
>> Just in case, could you show us your labelstr line?
>
>Sure - here you go..
>
>labelstr "Tape[0-9][0-9]*$"
>
>> Also, from your first posting,
>>
>> > dumpcycle 2 days        # the number of days in the normal
>> > dump cycle runspercycle 20         # the number of amdump runs
>> > in dumpcycle days tapecycle 6 tapes       # the number of
>> > tapes in rotation
>>
>> Those are wierd and improper settings.
>>
>> It says you will get a level zero (full) dumps every 2 days.
>> During those 2 days you are going to run amdump 10 times a day.
>> And you will be overwriting your 6 tapes 3+ times in every 2 day
>> dumpcyle.
>>
>> Don't sound kosher to me :))
>
>Indeed..
>
>I have changed it to:
>
>dumpcycle 7 days
>runspercycle 7
>tapecycle 6 tapes
>
>Cheers,
>Phil.

This is still a somewhat foobared setup.  "dumpcycle" is the maximum 
number of days that can go by before a level 0 (full) must be done.
"runspercycle" can be any number up to dumpcycle and be ok.

But "tapecycle", which means the number of tapes in the rotation 
should be at least 2x the runspercycle else you will be in a 
situation wherein the last full backup is overwritten before the 
next full is due.  Amanda may not like that, and you sure won't if 
something miss-fires and you need to do a full restore, but don't 
have a full to use as a restore base.  Tapes, compared to your 
data, are dirt cheap, specially if they're DAT's.  Get em on ebay.
Usually around 30 to 35 USD for a ten pack of new ones in DDS2 
sizes.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.07% setiathome rank, not too shabby for a WV hillbilly

Reply via email to