Bacula-users

[Bacula-users] Message resource when copying jobs

2015-10-02 08:42:11
Subject: [Bacula-users] Message resource when copying jobs
From: Christoph Litauer <litauer AT uni-koblenz DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 2 Oct 2015 14:22:28 +0200
Dear bacula users,

I recently upgraded from 5.1.3 to 7.2.0.
Runs like a charm except for one thing:
We do copy jobs every morning to copy the disk backups to tape. Every copy job 
sends a mail reporting "Backup OK of clientname incremental". Never had this in 
5.1.3.
My message ressources are:

Messages {
  Name = Standard
  mailcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula: %t %e of %c 
%l\" %r"
  operatorcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula: 
Intervention needed for %j\" %r"
  mail = bacula at uni-koblenz.de = all, !skipped, !restored
  operator = litauer at uni-koblenz.de = mount
  console = all, !skipped, !saved, !restored
  catalog = all, !skipped, !saved
  append = "/var/log/bacula/bacula.log" = all, !skipped, !restored
}

Messages {
  Name = TapeCopy
  mailcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula tape copy\" %r"
  operatorcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula: 
Intervention needed for %j\" %r"
  Mail On Error = litauer AT uni-koblenz DOT de = all, !skipped
  operator = litauer AT uni-koblenz DOT de = mount
  append = "/var/log/bacula/copy.log" = all, !skipped
}

Example mail when a copy job is run:
--------------------------------------------------------
From: Bacula <bacula AT uni-koblenz DOT de>
To: bacula AT uni-koblenz DOT de
Subject: Bacula: Backup OK of clientname Incremental

02-Oct 05:09 bacula-dir JobId 697689: Using Device "LTO4-0" to write.
02-Oct 05:09 bacula-sd JobId 697689: Elapsed time=00:00:04, Transfer rate=89.96 
M Bytes/second
02-Oct 05:09 bacula-sd JobId 697689: Sending spooled attrs to the Director. 
Despooling 26,284 bytes …
————————————————————————————

I understand that a copy job in fact is a combined restore and backup job. But 
wouldn't it be enough to only get the copy job status?

--
Kind regards
Christoph
_________________________________________
Christoph Litauer
Uni Koblenz, Computing Centre, Office A 022    
Postfach 201602, 56016 Koblenz     
Fon: +49 261 287-1311, Fax: -100 1311




------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>