02-10-2014 10:14 PM
Hi,
Our requirement is to send email alerts to dba`s after every successfully Oracle Database Full & Archive log backups.
Archive log backups are scheduled to run every 4 hours.
Would like to know on how to configure this email alerts.
Regards,
02-10-2014 10:37 PM
Firstly - check that sendmail is working on Oracle servers.
Login as root and use mailx to send test email to yourself and/or dba.
Once this is working, use NBU Host Properties, Clients -> <Client-name> -> Universal settings -> Client sends mail.
Add dba email address in this field.
dba will receive email after each backup attempt - successful and failed.
02-10-2014 10:42 PM
I want only specfic policies to send the alert. Is that possible using your method?
Regards,
Vish
02-11-2014 04:04 AM
The easiest way for you to do this is using OpsCenter
Use the Alert for backup completed status and select the policies involved
Really easy to setup
Hope this helps
02-11-2014 04:35 AM
Another option is to use parent_end_notify on the master server.
Sample script in /usr/openv/netbackup/bin/goodies folder can be copied to the bin folder.
If this script is activated and configured, it will send notification for ALL parent jobs, unless the script is customized for the one policy(policies) that you need notification for.
See how JH has used this script to only send email for Catalog policy:
https://www-secure.symantec.com/connect/forums/netbackup-656-saving-dr-file-tape#comment-4543891