2 weeks ago
Solved! Go to Solution.
2 weeks ago
you can send if clients in each policy is different using below , however if the clients are common on these policies there is no direct way to define in policy level, so you either needs to use pre and post jobs scripts, or scripts to verify and notify or use OpsCenter.
You can send notifications to the host administrator about successful and failed backups for a specific host.
On UNIX, NetBackup uses the mail transfer agent sendmail to send email notifications. Windows requires that an application to transfer messages with SMTP is installed. You also must configure the nbmail.cmd
script on the Windows hosts that send notifications.
See Configure the nbmail.cmd script on the Windows hosts.
See Install and test the BLAT email utility on Windows.
To send notifications for backups of a specific host
2 weeks ago
you can send if clients in each policy is different using below , however if the clients are common on these policies there is no direct way to define in policy level, so you either needs to use pre and post jobs scripts, or scripts to verify and notify or use OpsCenter.
You can send notifications to the host administrator about successful and failed backups for a specific host.
On UNIX, NetBackup uses the mail transfer agent sendmail to send email notifications. Windows requires that an application to transfer messages with SMTP is installed. You also must configure the nbmail.cmd
script on the Windows hosts that send notifications.
See Configure the nbmail.cmd script on the Windows hosts.
See Install and test the BLAT email utility on Windows.
To send notifications for backups of a specific host
2 weeks ago
As @RamNagalla said.. using post job scripts can do the trick here. This also allows you to capture any content that you want to see about the specific job. Its just the matter of creating a script with mail command smartly.
2 weeks ago
Agreed @sanket_pathak1
Using the backup_exit_notify script on the master is the way to go.
It is fed a number of parameters include policy, client, schedule and status (the parameters may vary depending on NetBackup version). I have customer who have mofiied this script (template can be found in the goodies folder) to send notifications to various groups depending on policy and status.
You will need to modify the script to suit your needs and it needs to live in the NetBackup bin directory. The template has some instructions (but not much).
Cheers
David
2 weeks ago
Thanks a lot!