On Tue, 26 Feb 2002 at 10:40am, Ward Violanti wrote

> dumpcycle 1 weeks      # the number of days in the normal dump cycle
> runspercycle 7 days     # the number of amdump runs in dumpcycle days
> tapecycle 60 tapes       # the number of tapes in rotation

> - Do I have "dumpcycle" and "runspercycle" correctly set if I want a level 0
> every week?

Yes, if you are going to run 'amdump' every night.

> - "tapecycle"  we want to keep a year worth of data, before we recycle the
> tapes, is this were I estimate the number of tape used in a year?   I have
> an AIT drive with 30 slots.

Well, assuming one tape per night (you're running every night, as above), 
then you need a tapecycle of 365.  But...

> - How would I range the "labelstr"  to accomplish performing daily
> incremental backups with a level 0 every week, using a 30 slot changer?
> When I test ran Amanda for the first time with a forced level 0 it took
> about 4 tapes, our level 0's are about 250GB.

Well, labelstr doesn't "accomplish" anything other than telling you what 
you can name your tapes.  Your config above will do what you want.  But, 
if you have runtapes > 1, then you may need a bigger tapecycle to make 
sure you have a full year's history.

Keep in mind that amanda has to do level 0s of everything the first time 
it runs (as there's no history from which to do incrementals).  After a 
few dumpcycles, amanda should have the load pretty well spread out, so 
that approximately the same amount of data is going to tape every night, 
and it'll be less than that 250GB.  It "should" be around 250/7=35GB per 
night.

If ~365 tapes is too much (and those are expensive tapes), then ask 
yourself if you *really* need a year's worth of *dailies*.  What I do is 
run two configs.  I have a Daily config (run 5 times per week) with a 
tapecycle of 60 (8mm Exabytes -- i.e. cheap tapes), so I have about 3 
months of dailies.  Every 6 weeks I run my second Archive config, which 
does level 0s of everything (onto AIT tapes) and has an effectively 
infinite tapecycle.  I.e. I have snapshots every 6 weeks going back 
forever, but "only" 3 months worth of daily history.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

Reply via email to