Hi list,
i have this messages configuration
Messages {
Name = Standard
mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t
%e of %c %l\" %r"
operatorcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula:
Intervention needed for %j\" %r"
mail = thomas AT ic3s DOT de = all
mail = all-other-admins AT ic3s DOT de = warning, error, fatal, terminate
operator = all-admins AT ic3s DOT de = mount
console = all, !skipped, !saved
catalog = all
append = "/var/lib/bacula/log" = all #, !skipped
}
after the catalog backup i run an admin job which rsyncs and than deletes the
catalog backup.
due to a (self made) problem this evening the admin job fails.
bacula sends two emails, one for me (thomas AT ic3s DOT de):
> 03-Jan 18:09 backup-dir JobId 60458: BeforeJob: run command
> "/etc/bacula/scripts/sync_and_delete_catalog_backup"
> 03-Jan 18:09 backup-dir JobId 60458: BeforeJob: rsync: link_stat
> "/home/bacula/bacula.sql" failed: No such file or directory (2)
> 03-Jan 18:09 backup-dir JobId 60458: BeforeJob: rsync error: some files could
> not be transferred (code 23) at main.c(977) [sender=2.6.9]
> 03-Jan 18:09 backup-dir JobId 60458: Error: Runscript: BeforeJob returned
> non-zero status=23. ERR=Child exited with code 23
but all-other-admins get only this line in the mail
> 03-Jan 18:09 backup-dir JobId 60458: Error: Runscript: BeforeJob returned
> non-zero status=23. ERR=Child exited with code 23
why sends "warning, error, fatal, terminate" only the last line?
i see the whole problem in the mail, my team mates have to look at the backup
job log to see the real failure.
can i change behaviour this by changing the configuration?
Regards
Thomas
--
[:O]###[O:]
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|