Kern Sibbald wrote:
> On Wednesday 11 October 2006 18:50, DAve wrote:
>> Hmm,
>>
>> Now that we have a lot of Bacula use I am looking to offload some 
>> monitoring of the backups onto support.
>>
>> For a test I am wanting to direct my messages from specific backup jobs 
>> to specific support personnel. As a test I am going to send the messages 
>> from the catalog backup to another address.
>>
>> Not sure I understand the Manual with regards to the Messages resource 
>> 'Name'. As I read it, I should be able to create a new Messages resource 
>> in each bacula-sd.conf with the value of 'Name' equal to the Job Name.
>>
>> Correct?
> 
> Well sort of.  
> 
> Each Job resource has a "Messages = xxxx" defined in it.  The xxxx refers to 
> the Name field in one of the messages  resources you defined.  
> 
> So what you say is correct providing you have a "Messages = Job-name" in each 
> of your job resources (or in your case, probably just in your catalog 
> backup).
> 

Exactly as I thought, thank you. I have each backup client in it's own 
conf file and each client conf file included into the bacula-dir.conf.

So I created a new Messages resource in each client's conf file at the 
top, named accordingly. I then changed the Messages field in each Job 
resource to use the named Messages resource I created. Looks like it 
should work. Bacula reloaded without complaint.

Sometimes Bacula is confusing, because it is so flexible the ability to 
adjust it to your needs seem endless. But that flexibility is what makes 
it worth while.

Thank you.

DAve

>> On my director server I added the following to bacula-sd.conf
>> Messages {
>>       Name = FileStorage-director
>>       mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) 
>> %r\" -s \"Bacula daemon message\" %r"
>>       mail = [EMAIL PROTECTED] = all, !skipped, !mount
>>       }
>>
>> This makes sense to me, I'll know for certain in the morning after the 
>> catalog is backed up. Am I tripping over anything?
>>
>> Thanks,
>>
>> DAve


-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to