Amanda-Users

Re: More questions about amanda

2004-06-02 15:45:29
Subject: Re: More questions about amanda
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Wed, 2 Jun 2004 15:42:12 -0400
On Wednesday 02 June 2004 11:24, Marcelo Leão Caffaro wrote:
>Hi guys!
>
>i have more questions about the amanda
>
>before i install the amanda, i run the winnt backup to make my daily
> backup and i have four daily tapes (Mon,Tue,Wed,The) four tapes to
> week (in all Fri) and one tape to month.
>
>But now i search to amanda one backup solution and i have someone
> questions about the amanda.
>
>
>first: in older backup i put the name (month1, month2) and if i need
> restore, i only put this tape in drive... in amanda how i do to
> select another data or month to restore?

Amanda doesn't really want to work that way.  Amanda tries to schedule 
backups such that approximately the same amount of tape is used every 
night.  To that end amanda will juggle the schedule around, with the 
only real constraint being that everything gets a level 0 backup at 
some point in dumpcycle days.  Because of this, I and many others are 
backing up fairly large systems in terms of total disk space, with 
small tapes, in my case a measly DDS2 is doing:

[amanda@coyote tmp]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda7             30237928  10164536  18537380  36% /
/dev/hda1               247919    103353    131766  44% /boot
/dev/hda2               102598     14540     88058  15% /dos
/dev/hda3              4031560    531200   3295560  14% /opt
/dev/hda8             69440888  30348212  35565208  47% /usr
/dev/hda5             10079324   3384516   6182796  36% /root
/dev/hda6              4031656    925920   2900940  25% /home
//gene.coyote.den/public
                      39285760  16776192  22509568  43% /mnt/gene
//gene.coyote.den/dlds
                       1028080    338464    689616  33% /mnt/dlds

Or in the neighborhood of 60Gb of total data, all going into 8 DDS2 
tapes in the space of an 8 day dumpcycle.

One can rig scripts and such around amanda to make amanda do that, but 
its crippling/defeating the basic design of amanda to do so.  You 
will also need a drive capable of taking the whole system as a level 
0 in one swell foop.  Bring money, lots of it, for both the drive, 
and the tapes...  My DDS2's are 2-3 bucks each on ebay.

But, IIRC when you have to do a restore/recover, the programs will 
take your input as to what you want to restore, amanda will search 
her database, and tell you what tapes she will need in the order they 
should be fed to the drive.

>second: the directory to restore the files with recover is the same
> specified in amanda.conf? if i put this i have this message:
>
>220 tux2 AMANDA index server (2.4.4p2) ready.
>200 Access OK
>Setting restore date to today (2004-06-02)
>200 Working date set to 2004-06-02.
>Scanning /backup1/amanda...
>200 Config set to Daily.
>200 Dump host set to tux2.employer.com.br.
>Trying disk /backup1 ...
>Trying disk hdb1 ...
>Can't determine disk and mount point from $CWD '/backup1/amanda'

hdb1 is probably a device name, not a mountpoint.  Use mountpoints, 
just as you would to do an ls -l /home/amanda

>but in my amanda.conf
>holdingdisk hc1 {
>    comment "main holding disk"
>    directory "/backup1/amanda" # where the holding disk is
>    use -1 Gb
>
>whats wrong?
>
You changed the name of the target from hd1 to hc1 which may confuse 
amanda.  And of course the directory tree /backup1/amanda must exist, 
and belong to (usually) amanda:disk

>tks
>sorry my english

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.23% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

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