* Paul Lussier <[EMAIL PROTECTED]> (Thu, Sep 20, 2001 at 11:59:56AM -0400)
> 
> In a message dated: Thu, 20 Sep 2001 16:12:02 +0200
> Nicolae Mihalache said:
> 
> >Hello!
> >
> >I have a tape changer with 7 tapes and I want to run a dumpcycle of one
> >month. So only 6 tapes can be used for a full backup resulting an
> >average of 1 tape/5 days. In the meantime the backup should be holded on
> >the holding disk so a tape write should happen only when the resulting
> >data is big  enough to fill a reasonable percent of the tape. How can I
> >configure amanda to behave in such a way without manual intervention? By
> >default amanda tries to write a tape each day.
> 
> Your best bet is to write a shell script run from cron to automate 
> the amflush command.
> 
> I would set up amanda so that it essentially failed each night, 

e.g. by specifying a non-existent tape davice.

> resulting in all the data being kept on the holding disk.  Run a 
> script from cron that figured out the amount of data on the holding 
> disk, and at the appropriate data level, ran amflush.  Of course, 
> because amflush is an interactive process, you'll need to use 
> something like 'expect' or perl's exect.pm module to handle this type 
> of thing.
> 
> Hope that helps.

Oh,
and don;t forget to tell amanda to also do full dumps if it cannot write to
tape.

fROm my amanda.conf file
(comments from the template file)
# If amanda cannot find a tape on which to store backups, it will run
# as many backups as it can to the holding disks.  In order to save
# space for unattended backups, by default, amanda will only perform
# incremental backups in this case, i.e., it will reserve 100% of the
# holding disk space for the so-called degraded mode backups.
# However, if you specify a different value for the `reserve'
# parameter, amanda will not degrade backups if they will fit in the
# non-reserved portion of the holding disk.

reserve 30 # percent
# This means save at least 30% of the holding disk space for degraded
# mode backups.

that is, 30% of the holding space is for degraded mode dumpts, 70% is for
full (level 0) dumps.

However, personally I would invest a bit of $$ into buying more tapes ..
run amanda every other day if you want to save some tape
and store one set of tapes off-site.



        Gerhard,  (@jasongeo.com)   == The Acoustic Motorbiker ==       
-- 
   __0  Save within the walkman
 =`\<,  With a halo of distortion
(=)/(=) Aural contraceptive aborting pregnant conversation

Reply via email to