Well, the setup its because we have a department to check/verify/troubleshoot any backup, we do backup for multipleclients, and its better for us to get a email of everthing, could be a waste of emails, but since we have a group dedicated to do this, I think its a good solution.
I know I have blat working, because I can send email from the cmd, but not from NBU.
Here is my nbmail.cmd file:
@REM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@REM - -
@REM - A public domain SMTP mail client for NT called BLAT is available at: -
@REM - -
@REM - -
@REM - Here's how to use BLAT with the NetBackup NT server. -
@REM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@REM
@IF "%~4"=="" (
blat %3 -s %2 -t %1 -i NetBackup -server mail-1.mydom.local -q
) ELSE (
blat %3 -s %2 -t %1 -i NetBackup -server mail-1.mydom.local -q -attach %4
)
@REM
@REM - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@REM - The -i option designates the originator's address, you may change this -
@REM - or omit it altogether (the default is the sender's address specified -
@REM - when BLAT was installed). -
and I also I follow this article:
and because we want an notification of everything, I did this too:
To allow a master server to send emails for all failed client backups that end with a non-zero status, do the following:
1. Open the NetBackup Administration Console
2. Open the Host Properties for the master server and go to the Global Attributes tab
3. At the bottom of this page, enter the email address for the NetBackup administrator in the field called Administrator e-mail address: (separate multiple entries with commas)
To allow a specific client to send emails for all successful and failed jobs, do the following:
1. Open the NetBackup Administration Console
2. Open the Host Properties for the Client and go to the Universal Settings tab
3. Under the Administrator
Thanks for the help!!