Amanda-Users

Re: amreport

2005-02-28 10:19:20
Subject: Re: amreport
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: ddaasd <ddaasd AT gmail DOT com>
Date: Mon, 28 Feb 2005 16:14:43 +0100
ddaasd wrote:
The idea with 3 groups sounds better.

I have 2 more questions for this scenario:

1. If my dumpcycle=5, runspercycle=5 then I need tapecycle to be minimum 6 (runspercycle+1). These are for one group (for one week - only weekdays). If I would have 3 groups then it seems I need 18 tapes. Now I have only 16. So we have to order 2 more tapes. Am I right?

You probably mean dumpcycle=7 (each week a dump) and runspercycle=5
(but only mon-fri I insert a tape).

But when having 3 groups, then you have tapecycle=15.

15 tapes is plenty: you have normally 3 sets of tapes to restore from.

But now and then amanda needs to skip a full dump, and amanda schedules
the full dump a day later. That means that 2 weeks later, you will overwrite the oldest full dump earlier then normal, leaving you with
only 2 sets for that DLE.  Still a safe margin, but by adding one or two
tapes to the tapecycle, you 're safe again to the 3 sets backup.

Now one additional little trick is, that you can leave "tapecycle 15" in
the config file, but in reality use a few more tapes in the cycle.
Now you can REMOVE a tape from the cycle when needed, or when broken,
and amanda will NOT complain that you IMMEDIATLY need to add a new tape,
because it will otherwise overwrite a tape that is NOT yet 15 times old.

But because you plan to put 5 tapes in a cartridge, and exchange
the cartridge each week with the offsite copy, then this becomes a problem again: 16 or 17 or 18 is not a multiple of 5, and that
would imply that you have to change the contents of the cartridge each
time.  Too much trouble, and chances to make mistakes.

I would leave each cartridge with 5 tapes, set "tapecycle 15", and
only when needed (a bad tape, etc) label a new tape that replaces
the broken one.




2. How do I label the 5 tapes from every group? Do I label them the same and change them all on weekend or Monday morning?

I would label them daily-01, daily-02, ... daily-15.
In the beginning you will have them nice sequentially daily-01
to daily-05 for week 1, etc, but the soon you're ill, or you have
a major disk reorganisation, amanda will need to skip a tape, or you'll
need to flush one more unexpectedly, and then simply end up with
a pack for that week numbered daily-03 to daily-08, and one daily-13 to
daily-02.  You always overwrite the oldest tape.


Given that, for offsite I'd suggest you consider your tapes as groups
of 5, i.e. 3 groups.  One group will be in use, one group offsite,
and the final group will be either the next group to be in use or
the group that was most recently in use.  The former ensures you
are ready to switch groups over the weekend, the latter keeps some
more recent backups on-site for recovery.




--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



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