On Wednesday 29 September 2004 12:22, Jon LaBadie wrote:
>On Wed, Sep 29, 2004 at 10:53:32AM -0500, Jason Miller wrote:
>> Forgot to include the amanda-users in my reply to Gaby incase
>> someone had other ideas.
>>
>>
>> Gaby,
>> Not certain if there is a way to stop Amanda from dumping them
>> out and honestly it didn't bug me so what I did was setup a cron
>> job to clean the directory out for me once a week to keep it down.
>> That way if something does break I at least have some output of
>> the debugs to reference since sometimes we don't check our backup
>> solution on a daily basis but I do try to at least twice a week.
>> The script I have setup looks something like below, this is on
>> Redhat 9.0 set in my /etc/cron.weekly folder as a script with
>> execute permissions. You could set that daily if you liked or
>> monthly even.
>
>A slight variation; I prefer to have each run's debug files together
>in a single directory. Thus each day, if there are any debug files
>from a recent run, I make a subdirectory "DBG-MMDD". The files are
>moved into the subdirectory. The script then checks how many
> "DBG-*" directories there are and retains only the N most recent.
Amanda is supposed to do that for you Jon. Its supposed to delete any
files associated with a tape thats being over-written, so it keeps
"tapecycle" worth of all that & then kills them.
--
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.26% 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.
|