Amanda-Users

Re: Tape Cycle calculations

2003-02-19 14:13:48
Subject: Re: Tape Cycle calculations
From: Russell Adams <RLAdams AT kelsey-seybold DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 19 Feb 2003 11:35:37 -0600
I have a neat setup going along that line, though not quite what you
want.

I've got 20 DAT (120M) tapes for my home fileserver, used for weekly
backups.

I have a dump cycle of 7 days, with 1 run per cycle, and 20 tapes in
the tapecycle.. So I give amanda a tape once a week on the weekend.

I override the dump cycle on individual DLE's in the config file to
make my important data (/home, /var) get a full level 0 at least every
2 weeks, and the other data (/, /usr) gets a full level 0 at least
every 6 weeks.

Now for the variation.

I have a large holding disk. So I run amanda nightly at 5 am, and
without a tape it does level 1's across all the DLE's. These get
queued up on the holding disk each night until the weekend, when they
all get dumped to tape along with a level 0 of any due DLE's. The
incrementals are less than 100 megs / day.

In this way I get my daily incremental dumps and full dumps on
weekends... it works well for me.

Russell


On Wed, Feb 19, 2003 at 10:45:17AM -0500, Joshua Baker-LePain wrote:
> On Wed, 19 Feb 2003 at 2:08pm, Alex Page wrote
> 
> > I'm setting up an amanda system, and I'm a little confused by the
> > jargon. What I'm trying to do is one full backup a week (on Fridays) and
> > partial backups every other weeknight. I want to operate four weeks of
> > tapes in rotation, so at any time we have four weeks of backup down to
> > the granularity of one day.
> 
> Using amanda requires a bit of a paradigm shift in how you think about 
> backups.  Amanda handles the bulk of the scheduling, not you.  The "full 
> on Fridays, incrementals otherwise" is the old way of thinking of things.
> 
> > Am I right in thinking that this is a dump cycle of 7 days, with 5
> > runs per cycle and 4 tapes per run? Sorry if this is alarmingly obvious,
> > I'm pretty new to all this :)
> 
> Almost.  dumpcycle is the maximum time between level 0s of any particular 
> disk list entry (DLE).  For you, that's 1 week.  Runspercycle is the 
> number of times you'll run amdump per dumptycle -- for you, 5.  runtapes 
> is how many tapes amanda can use per amdump.  Unless you have a changer, 
> that's probably 1.  And tapecycle is how many tapes you're going to give 
> amanda to use.  For your 4 week history, you'll need 20 (unless your 
> runtapes is > 1).
> 
> Now, amanda's goal is to have each night's backups be about the same size 
> (and thus take about the same amount of time).  To do this, it will spread 
> level 0s throughout the dumpcycle.  It will promote dumps (i.e. do a level 
> 0 before one is due) if it needs to in order to equalize things.
> 
> You *can* force amanda into your paradigm, but it isn't pretty.
> 
> -- 
> Joshua Baker-LePain
> Department of Biomedical Engineering
> Duke University

<Prev in Thread] Current Thread [Next in Thread>