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

-- 

Seeya,
Paul
----

                          God Bless America!

        ...we don't need to be perfect to be the best around,
                and we never stop trying to be better. 
                       Tom Clancy, The Bear and The Dragon


Reply via email to