Amanda-Users

Re: Questions about Amanda - part II

2003-06-10 09:28:12
Subject: Re: Questions about Amanda - part II
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: "Roberto Samarone Araujo (RSA)" <rsa AT iesam.com DOT br>
Date: Tue, 10 Jun 2003 15:24:38 +0200
Roberto Samarone Araujo (RSA) wrote:
         2. I need to get the backups of all my machines. Do I need to
create a /etc/amanda/Directory/amanda.conf for each of them ?

Usually, a single machine (the amanda "server") has the tape drive, and
all other machines (amanda "clients") write their backups to the server.
There is a single amanda.conf, on the server.



Ok, but if I put a lot of clients on 'disklists', Will amanda use one tape
for each client ? It will runs all backups on the same time, ok ?

I runs a lot of clients at the same time. Each backup is collected in
the holdingdisk. When some disklist entry is finished, it is queued
to the program that puts each backup on tape.  These backups are put on
tape one after another on the same tape.
So, no, amanda does not use one tape for each client.


         3. If I put 'dump cycle' to 5, the partition that will be
backuped
wil be divided by 5 and on each day 1/5 of the partition will be
backuped,

ok ?

No.  The partition will get a level 0 (full) dump once every 5 days,
and incremental dumps the other days.

By the way, this is almost certainly not what you want.  You probably
want 'dumpcycle 1 week' and 'runspercycle 5'.



Sorry, but it sounds so confuse for me. I read the chapter about Amanda on
"Essencial System Administration by Oreilly" and the author talk something
about: Amanda divide the partition that will be backup and each day one part
of the partition will be backup.

I can't find that passage in the book :-)
Explanation by example:
You have 10 clients, each with many disks, lets say 40 DiskListEntries in your disklist. It looks like:

        myfirst.host.com        /               comp-root-tar
        myfirst.host.com        /home           comp-user-tar
        mysecond.host.com       /               comp-root-tar
        mysecond.host.com       /var            comp-root-tar
        mysecond.host.com       /disk1          comp-user-tar
        mysecond.host.com       /bigdisk        comp-user-tar
        mythird.host.com        /               comp-root-tar
        mythird.host.com        /export/home    comp-user-tar
        ..

The total amount to backup is 100 Gbyte, and you have a runspercycle 5,
than amanda tries to put about 20 Gbyte on a tape each run.
After 5 days everything is put on tape at least once.

Amanda does this by choosing a number of DLE's each run.  Those DLE's
get a full backup.  All the other DLE's get an incremental backup.
Amanda chooses also which level of incremental backup.
On one day it chooses, myfirst.host.com:/home, and mysecond.host.com:/bigdisk. That bigdisk is so large you're already
having about 20 Gbyte with those two entries, so amanda decides
that's enough for today.  All the rest will get an incremental backup,
including myfirst.host.com:/ and mysecond.host.com:/var.

The result is that you can restore everything up to the last run, and
at the same time, the amount of work for each backup is leveled out
over the x runs (5 in the example).

If you have only 1 disk to backup (one DLE), then of course, you're in
the boundary case:  you get 1 full backup of that DLE, and the other
days, only an incremental backup.

What I need is do a full backup in one day and incrementals on the next
days. So, I put 'dump cycle 7' and 'runs per cycle 5' for 1 day of full
backup and 4 days for incrementals, Is it correct ?

Yes, as long as you realize that for one particular DLE, it is not
always the first day that you get your full.  Amanda spreads the full
backups over all the tapes in one cycle.



I have a problem, last night Amanda send me a email about a backup but, the
emails didn't have nothink. Something wrong ?

Double negative confuse me a lot.
If they don't have nothing, the read the mail to see what's wrong.
If you did receive an email, and the email was empty, then that's very
strange.  We need more info here.
If you did not receive any mail at all, then something else is wrong
in your setup.  We need more info too.


--
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>