NetBackup™ Web UI Administrator's Guide
- Introducing NetBackup
- Section I. Monitoring and notifications
- Monitoring NetBackup activity
- Activity monitor
- Job monitoring
- Notifications
- Monitoring NetBackup activity
- Section II. Configuring hosts
- Managing host properties
- Managing credentials for workloads and systems that NetBackup accesses
- Managing deployment
- Section III. Configuring storage
- Section IV. Configuring backups
- Section V. Managing security
- Security events and audit logs
- Managing security certificates
- Managing host mappings
- Managing user sessions
- Managing the security settings for the primary server
- About trusted primary servers
- Using access keys, API keys, and access codes
- Configuring authentication options
- Managing role-based access control
- Configuring RBAC
- Add a custom RBAC role
- Section VI. Detection and reporting
- Detecting malware
- Detecting anomalies
- Usage reporting and capacity licensing
- Detecting malware
- Section VII. NetBackup workloads and NetBackup Flex Scale
- Section VIII. Disaster recovery and troubleshooting
Configure the nbmail.cmd script on the Windows hosts
For Windows hosts to send and receive email notifications about backups, the nbmail.cmd script must be configured on the applicable hosts.
To configure the nbmail.cmd script on the Windows hosts
- Create a backup copy of nbmail.cmd.
- On the primary server, locate the following script:
install_path\NetBackup\bin\goodies\nbmail.cmd
- Copy the script to the following directory on the applicable hosts:
install_path\NetBackup\bin\
Primary and media server
NetBackup sends notifications from the server if you configure the following setting:
The Administrator's email address in Global Attributes.
The Server sends email option in the Universal Settings.
Client.
NetBackup sends notifications from the client if you configure the following setting:
The Client sends email option in the Universal Settings.
- Use a text editor to open nbmail.cmd.
The following options are used in the script:
-s
The subject line of the email
-t
Indicates who receives the email.
-i
The originator of the email, though it is not necessarily known to the mail server. The default (-i Netbackup) shows that the email is from NetBackup.
-server
The name of the SMTP server that is configured to accept and relay emails.
-q
Suppresses all output to the screen.
- Adjust the lines as follows:
Remove @REM from each of the five lines to activate the necessary sections for BLAT to run.
Replace SERVER_1 with the name of the mail server. For example:
@IF "%~4"=="" ( blat %3 -s %2 -t %1 -i Netbackup -server emailserver.company.com -q ) ELSE ( blat %3 -s %2 -t %1 -i Netbackup -server emailserver.company.com -q -attach %4 )
- Save nbmail.cmd.