04-22-2015 01:59 PM
We're using Netbackup 7.1.0.3 (upgrading is not an option) and have the following configuration set using Blat to send email:
Master Server:
Global Attribute: backupfailures@domain.com
Universal Settings: Administrator: Server Sends Mail (no recipient)
Majority of clients:
Universal Settings: Administrator: Server Sends Mail (no recipient)
We then have a small handful of clients configured as follows:
Universal Settings: Administrator: Server Sends Mail (auditlogs@domain.com)
The intent is that all client backups generate an alert to backupfailures@domain.com if a backup fails, no alert if a backup is successful.
A small handful of clients besides generating the failed backup alerts ONLY to backupfailures@domain.com, we ALSO want to send a failure AND success messages to auditlogs@domain.com, those clients have the client universal setting configured with the auditlogs recipient.
For some reason, one of the servers which we want to send both failed backup alerts to "backupfailures" and BOTH failed and successful alerts to "auditlogs", is not sending alerts on failed backups to "backupfailures" as configured in the master server's universal settings. It IS sending both successful and failed alerts to "auditlogs" as configured in the client setting.
I have created a new policy to test with and noticed that if I perform a Windows backup of a file, the alerts work as desired but if I change it to a SQL based backup, the alerts do NOT work as desired.
We're using blat, and I placed a line at the end of nbmail.cmd to echo out the values of %1, %2, %3, and %4 to a log to see exactly what Netbackup is sending to blat and noticed that when SQL backups on this server fail, it does NOT even call blat. I have been working with Symantec support to troubleshoot this, but am not getting anywhere. I'm wondering if anyone else has ever noticed similar behavior or has any ideas?
Solved! Go to Solution.
04-23-2015 11:20 AM
How about using a backup_exit_notify script?
I just posted an example here:
https://www-secure.symantec.com/connect/forums/backup-exit-notify-script
.
If you are already comfortable with DOS batch scripting - then it should be fairly easy to only alert on certain policies or clients or combinations.
Or, you/we could add some code to do some simple lookups as described in the post above.
04-23-2015 12:23 AM
Compair your settings against this TN:
DOCUMENTATION: Email Notifications Settings and Their Behaviors
http://www.symantec.com/docs/TECH64984
The TABLE OF EFFECTS is great to see when emails will be sent and when not.
04-23-2015 10:31 AM
I already did that, and it works just as desired for NON-SQL backups, so it's not an issue with how we configured the alerts.
04-23-2015 11:20 AM
How about using a backup_exit_notify script?
I just posted an example here:
https://www-secure.symantec.com/connect/forums/backup-exit-notify-script
.
If you are already comfortable with DOS batch scripting - then it should be fairly easy to only alert on certain policies or clients or combinations.
Or, you/we could add some code to do some simple lookups as described in the post above.