I receive emails on every catalog backup headed "Bacula: *none* *none* of
*none*" *none*. There is one of these for each job. Typically they contain:

24-Jun 07:15 homeserver-dir JobId 0: Automatically selected Catalog:
MyCatalog
24-Jun 07:15 homeserver-dir JobId 0: Using Catalog "MyCatalog"
24-Jun 07:15 homeserver-dir JobId 0: Using Catalog "MyCatalog"
24-Jun 07:15 homeserver-dir JobId 0: No Volumes found to perform the
command.

I also get one daily at the same time like this snippet.

24-Jun 07:15 homeserver-dir JobId 0: Automatically selected Catalog:
MyCatalog
24-Jun 07:15 homeserver-dir JobId 0: Using Catalog "MyCatalog"
24-Jun 07:15 homeserver-dir JobId 0: Found no Job associated with the
Volume "full0784" to prune
24-Jun 07:15 homeserver-dir JobId 0: Found no Job associated with the
Volume "full0785" to prune
24-Jun 07:15 homeserver-dir JobId 0: Found no Job associated with the
Volume "catalog0842" to prune
24-Jun 07:15 homeserver-dir JobId 0: There are no more Jobs associated with
Volume "catalog0842". Marking it purged.
...

I think these messages are "console" messages generated from Runscripts
such as this that run after every daily full backup of the Catalog?

...
Runscript {
    RunsWhen = "After"
    RunsOnClient = no
    Console = "purge volume action=truncate pool=file_catalog
storage=catalog-sd"
}
...

The messages resource is:

Messages {
  Name = "Standard"
  MailCommand = "/usr/sbin/bsmtp -h localhost -f \"(Bacula) %r\" -s
\"Bacula: %t %e of %c %l\" %r"
  OperatorCommand = "/usr/sbin/bsmtp -h localhost -f \"(Bacula) %r\" -s
\"Bacula: Intervention needed for %j\" %r"
  Syslog = All, !Debug, !Saved, !Skipped
  Mail = root@localhost = All, !Debug, !Saved, !Skipped
  Append = /var/log/bacula/bacula.log = All, !Debug, !Saved, !Skipped
  Console = All, !Debug, !Saved, !Skipped
  Operator = root@localhost = Mount
  Catalog = All, !Debug, !Saved, !Skipped
}

Could anyone suggest how I should modify my messages setup so that I only
get email messages that a backup has run OK or an error has occurred (e.g.
in a backup or the background purge/recycle mechanism)?

I looked through the manual but couldn't figure out the correct statements
to accomplish this.

Many Thanks
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to