Setting up NTBackup Email Notification

  1. Download Blat for Windows (full). You must unzip it to c:\ for the batch file to work. Rename c:\blat222 (or whatever version it is) to c:\blat. If you aren't running Windows XP or later, you will need FreeZip to do this.
  2. Bring up a command prompt. Type the following :
    cd \blat\full
    And then :
    blat -install <SMTP server> <email address>
    Substitute the SMTP mail server for <SMTP server> and someone's email address for <email address>.
    e.g. blat -install webmail.halsys.com gthorne@halsys.com
    Close the command prompt.
  3. Create the scheduled task in NTBackup and then in Scheduled Tasks. Make sure the username the task runs under is hal so the script runs correctly. Download the ntbackuphandler.vbs file and put it in the C:\batch directory. This is the NTBackup email notification script.
  4. Open ntbackuphandler.vbs in Notepad and change
    strMailServer to the SMTP mail server
    strMailSender to the sender's email address
    strMailRecipient to the recipient's email address
    Save and exit.
  5. Add a scheduled task that runs c:\batch\ntbackuphandler.vbs some time after the NTBackup backup.
  6. To test the notification, run the scheduled task and see if you receive an email message. If you don't, start Notepad and open the c:\batch\ntbackuphandler.log file to see if blat logged any errors.


Return to the HAL Systems Help Page
This page last modified on March 1, 2005 by Gary Thorne