[Box Backup] notifyadmin in 0.11rc2 to chatty
Wolfgang Trexler
boxbackup@fluffy.co.uk
Wed, 28 May 2008 13:54:49 +0200
Hi,
I just installed 0.11rc2 and was wondering why the event
backup-start and backup-finish
where not handled separately in notifyadmin
Per default notifyadmin doesn't know these two states and sends an mail
"The backup daemon on ... reported an unknown error. / FILES MAY NOT BE
BAACKED UP" on every start and end of backup.
That's not what one would expect on a normal backup start and stop...
I recommend to add these two lines in notifyadmin in line 5 to shut up
the notifier ;-)
if [ "$1" = "backup-start" -o "$1" = "backup-finish" ]; then
exit 0
fi
best regards
Wolfgang