Need Email Notification Script - Veritas Net Backup

This is a discussion on Need Email Notification Script - Veritas Net Backup ; I need a VB script to email to the administrators once a day the last 24 hours successful backups in one email, and the unsuccessful backups in another email. I have one that does that already, but I also need ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Need Email Notification Script

  1. Need Email Notification Script


    I need a VB script to email to the administrators once a day the last 24 hours
    successful backups in one email, and the unsuccessful backups in another
    email. I have one that does that already, but I also need those emails to
    list the files that were successfully/unsuccessfully backed up so as to contain
    more detail than a simple status number. Any help would be appreciated.

  2. Re: Need Email Notification Script


    "Dave B" wrote:
    >
    >I need a VB script to email to the administrators once a day the last 24

    hours
    >successful backups in one email, and the unsuccessful backups in another
    >email. I have one that does that already, but I also need those emails

    to
    >list the files that were successfully/unsuccessfully backed up so as to

    contain
    >more detail than a simple status number. Any help would be appreciated.


    I assume you have very small backups to even conceive of this.

    Ignoring the VBScript part (that's Windowsey fluff you can wrap around the
    data and if you need VBS help in general, there are better places to ask),
    you probably want to write a batch file to collect your data. Read "Viewing
    NetBackup Reports" in your SAG Volume I to see the things that are available,
    the look at tne NetBackup Commands manual to for commands like bpdbjobs and
    bperror that generate everything you see in the Reports GUI, process the
    data as needed and mail it.

    You can do all this in batch files using DOS commands, but it will be much
    easier to install a Unix-like shell environment like MKS Toolkit or cygwin.
    Better yet, teach the admins how to use the reports. You probably have
    better uses for your time than writing non-trivial scripts for them.

+ Reply to Thread