From: Jason K. <jk...@in...> - 2007-02-21 17:02:06
|
Thanks, that works great. David Romerstein wrote: > On Wed, 21 Feb 2007, Jason King wrote: > > >> How do I setup the messages of backup jobs of only certain servers to >> certain ppl. Right now the ppl that get notified get notified about >> every server being backed up. They only want to get notified about 3 of >> the servers we backup. How can I set bacula up to do that? I'm using >> bacula 2.0.2. >> > > Create a Message resource in bacula-dir.conf that sends mail to the folks > that just need notifications about those three servers and then, in the > Job definitions that define the backups of those servers, include those > Message resources. Don't include those email addresses in your 'Standard' > Messages resource, and use that for the other backups. > > Messages { > Name = Those_Three_Servers > mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) me...@me...\" -s > \"Bacula: %t %e of %c %l\" %r" > operatorcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) me...@me...\" > -s > \"Bacula: Intervention needed for %j\" %r" > mail = th...@yo..., the...@yo... = all, !skipped > operator = th...@yo..., the...@yo... = mount > console = all, !skipped, !saved > append = "/var/bacula/working/log" = all, !skipped > } > > Job { > Name = "BackupThoseThreeServers" > Type = Backup > Level = Full > FileSet="Those_Three_Servers" > Storage = SOMETHING > Client = SOMETHING > Messages = Those_Three_Servers > Pool = Default > Priority = 5 > } > > -- D > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users > |