Amanda-Users

AW: AW: Question about dumbcycle, tapecycle and runspercycle

2006-07-25 11:45:59
Subject: AW: AW: Question about dumbcycle, tapecycle and runspercycle
From: Sebastian Kösters <skoesters AT sino DOT de>
To: "'Gene Heskett'" <gene.heskett AT verizon DOT net>, <amanda-users AT amanda DOT org>
Date: Tue, 25 Jul 2006 17:38:15 +0200
Hi,

all together i have 2 TB.

I use 8 configs (4 with 14 tapecycles each and 4 with 1 tapecycle each).

In each config i told amanda to use a maximum of 300GB.

Which size would you use?

-----Ursprüngliche Nachricht-----
Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org] Im
Auftrag von Gene Heskett
Gesendet: Dienstag, 25. Juli 2006 15:13
An: amanda-users AT amanda DOT org
Betreff: Re: AW: Question about dumbcycle, tapecycle and runspercycle

On Tuesday 25 July 2006 03:53, Sebastian Kösters wrote:
>Thanks!
>
>That helped me.
>
>I do the backup only weekdays so i set tapecycle to 14, runspercycle
> to 5 and dumpcycle to 7.
>
>Runtapes is set to 1.
>
>I use 300GB Vtapes....thats enough for my Backups.
>
Are you saying that you have a 300GB drive for your vtapes, or that you 
will have 14 300GB drives?  This will make a huge difference in the 
capacity you set the tapetype for.  If its a single drive, then divide 
that 300 GB by 14 to get your tapesize, which would be about 20GB per 
vtape.  There will be about 10% used for filesystem overhead and the 
above 20GB should pretty much take that into account, so that if all 
the vtapes are filled to that level, the drive will also be 90% full.

Unless you have a really humungous system, you may find after a couple 
of weeks running that the drive isn't filled very well, in which case I 
would make a few more vtapes and add to the 'tapecycle' figure.  The 
percentage of fill will determine how many more vtapes to make, but 
leave the last 10% for a cushion.

Also, when first starting up, if all dle's are enabled, amanda may take 
2 or 3 days to make the first level 0's on some dle's, but once caught 
upp, then you emails will then show you that amanda is adjusting the 
schedule to bring the night to night amount of tape used into 
'balance'.

You can get a feel for this balance by running "amadmin configname 
balance", but even after extensive runtimes, these figures are only 
guesses at what it will do on the next run.
>
>
>-----Ursprüngliche Nachricht-----
>Von: owner-amanda-users AT amanda DOT org
> [mailto:owner-amanda-users AT amanda DOT org] Im Auftrag von Jon LaBadie
>Gesendet: Dienstag, 25. Juli 2006 08:34
>An: amanda-users AT amanda DOT org
>Betreff: Re: Question about dumbcycle, tapecycle and runspercycle
>
>On Tue, Jul 25, 2006 at 07:29:02AM +0200, Sebastian Kösters wrote:
>> Hi!
>>
>> A short question.
>>
>> I would like to have the possibility to recover a backup thats 14
>> Days
>
>old.
>
>> I want to use virtuel tapes and a tape-changer for this.
>>
>> Every 7 Days Amanda should do a full-backup.
>>
>> Am i right that i need a tapecycle of 14 a runspercycle of 13 and a
>> dumpcycle of 7?
>>
>> If not, what must i set at tapecycle, runspercycle and dumpcycle to
>> get
>
>this
>
>> work?
>
>Only one is certain, dumpcycle 7, gives you a level 0 (full) backup
>of each DLE ``at least'' once every 7 days.
>
>runspercycle is how many times you will have crontab run amdump
>during each dumpcycle.  If you do it once every day, runspercycle
>should be 7.  If only on weekdays, 5, if only Mon, Wed, Fri, 3.
>
>Your setting of runspercycle 13 would be most unusual.
>With dumpcycle 7, it would suggest twice a day except only once
>on ?tuesdays?
>
>Lets assume daily runs, even on weekends, so runspercycle 7.
>With dumpcycle 7 that matches my two settings.
>
>We still can't determine a minimum value for tapecycle without one
>other parameter, runtapes.  This is how many tapes, physical or
>virtual, amanda might use for each run of amdump.  Not how many
>it will use, how many it is allowed to use if needed.  My nightly
>backups generally fit a single tape.  But occassionally it overflows
>to a second.  So I have runtapes 2.
>
>Now the calculation for tapes needed in the cycle is essentially:
>
>  # cycles to retain X runspercycle X runtapes
>
>I wanted 4 or 5 cycles worth of backups (about a month).  That would
>be 5 X 7 X 2 == 70.  But, because I determined that I would not be
>using a second tape except occassionally, I'm comfortable with a
>little more than 1/2 that number, I have a tapecycle of 40.
>
>If my environment adds a lot more data, or some more clients, either
>I will not be able to retain 5 cycles worth of backups, or I will
>have to add another external disk for more vtapes.
>
>HTH

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.