[Box Backup] Eventlog full with warnings

Chris Wilson boxbackup at boxbackup.org
Tue Dec 2 00:11:16 GMT 2008


Hi Roy,

On Tue, 2 Dec 2008, Roy wrote:

> > > > > In my eventlog I see the following warnig: WARNING: Suppressing 
> > > > > duplicate notification about backup-ok
> > > > >
> > > > > This is not new, and I had it with the previous build already. 
> > > > > But why is this? I only see one message with backup-ok, so I 
> > > > > don't know what Box Backup is suppressing.
> 
> First run (on start of service) there is a message saying backup-ok:
> NOTICE: About to notify administrator about event backup-ok, running script
> 'cscript "C:\Program Files\Box Backup\NotifySysAdmin.vbs" backup-ok'
> 
> But in next runs it doesn't. Is that the desired behavior? I would expect the
> cycle backup-start, backup-ok and backup-finish in every run.

That is what I expected and it is the desired behaviour. The ultimate 
state of your backups hasn't changed since the first run. They are still 
OK. Therefore you don't get notified about it again. backup-start and 
backup-finish are different because people may want to hook events on 
them, such as creating and deleting database snapshots, and are unlikely 
to want to produce an email (unless it's a backup report).

If one backup was to produce an error, then you would get a backup-error 
notification. After that, you will not get any more notifications until a 
backup succeeds, or the error type changes, in which case you will get 
backup-ok or read-error notifications.

You can override this behaviour using the NotifyAlways setting in your 
config file, e.g. NotifyAlways = yes, which will suppress the suppression 
of duplicate events. Alternatively, you can record the state of the last 
backup notification (other than backup-start or backup-finish) in a text 
file and use it when you receive a backup-finish event to generate an 
email, confident in the knowledge that it hasn't changed since.

If this is not what you want, then let's discuss it here on the mailing 
list, as others have complained about suppression (or lack of it) in the 
past and I'm not sure that there's a "right answer" except to make it 
configurable (which I have, with the NotifyAlways option).

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | Stop nuclear war http://www.nuclearrisk.org |



More information about the Boxbackup mailing list