Description: Need to have an email sent after job runs for status outcome.
For more information on this topic, please see the Module 4-Advanced Administration Part Two-Web-based Training
By default, NVBU provides the following two scripts that can be run as post backup scripts:
* psmail - This script emails the job completion status to the addresses
passed as user parameter.
* psmail_logs - This script emails the job completion status and the job
logs to the addresses passed as user parameter.
You can use the Advanced Options Post script and the psmail or psmail_logs scripts that are included with NetVault.
To run post scripts for a backup job, perform the following steps:
Part 1:
1. Open NetVault configurator ON THE CLIENT (Or use NetVault 11 WebUI > Change Settings > Client Settings > Notifications)
2. Click on the "Notification" fill out the:
- A. Outgoing email server (smtp) / This is the server that email goes out through.
- B. NetVault's email address / This is the address notifications will appear to be comming from.
- C. NetVault's real name / The Name of who the email came from.
3. Click on the "Global Notificaiton" Tab fill out the email address of sysop administrator / the address the notification email will go to. Leave the "Real name of system Administrator" as sysop.
Part 2:
1. In the Backup window, click the Advanced Options tab.
2. Under Post Scripts, select the 'Use Post Script.'
3. Enter the "psmail.bat" or "psmail_logs.bat" in the box next to the selected check box.
4. Enter the e-mail address you want the e-mail sent to in the "User Parameter field".