Amanda-Users

Re: ignore certain log errors?

2003-12-04 10:43:59
Subject: Re: ignore certain log errors?
From: "Kurt Yoder" <kylist AT shcorp DOT com>
To: "Jon LaBadie" <jon AT jgcomp DOT com>
Date: Thu, 4 Dec 2003 10:42:15 -0500 (EST)
Jon LaBadie said:
> On Wed, Dec 03, 2003 at 03:37:07PM -0500, Kurt Yoder wrote:
>> Hello list
>>
>> I do backups of directories containing files that sometimes change
>> or disappear during backup. I don't want to add the directories or
>> files to an exclude list, because I want to continue to attempt to
>> back them up. But I also don't want errors regarding these files
>> to
>> be reported back to me, because the backup failure isn't critical.
>> Is there a way to construct an "ignore errors list" that is
>> specific
>> to each disklist entry?
>
> This approach would require a rebuild of amanda.
>
> There are files that contain an array of regular expression
> patterns describing messages that can be safely ignored from
> dump and tar and ???.  Some are commented out, or enclosed in
> conditional "#if.../#endif" clauses.  And the list can be
> extended.  I think, but am not certain, it is the sendbackup*
> source files.

Suppose I wanted to define the "log exclude" lines in the disklist
file instead of hard-coding them into the client binary? Is there a
function within the server code that examines the log messages
coming back from the clients? Or maybe I could catch these messages
on the server side right before they get written to the email
report?

I'd also need to know where the code is in the server that examines
the disk list, if you know this.

Should I be posting to the amanda-hackers list instead?

-- 
Kurt Yoder
Sport & Health network administrator

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