Problem with success/unsuccessful backup reporting

Discussion in 'Paragon Drive Backup Product Line' started by baskervi, Mar 30, 2011.

Thread Status:
Not open for further replies.
  1. baskervi

    baskervi Registered Member

    Mar 17, 2011
    We have drive backup version 10, build 9105. I have someone regularly check the backup results via the drive backup GUI, and under the scheduled tasks results, the backups show they succeeded. However, this isn't the case. Per another question I have submitted to this forum, the backups eventually overtake the space on the drives, the drive is too full, and the backups fail immediately. Paragon doesn't show this. Has anyone create a script that looks at the actual results of the log, and then send off a notification with "successful" or "unsuccessful" in the subject line to make this easier to track? This to me should have been done day 1 with drive backup, and if it's in there, I sure as heck don't see where to configure it - I've been through the configuration scores of times.

    I've used the following when using Windows backups on some 2008 servers, but I thought there might be a better way of handling this, as certainly this should be a common requirement.

    cd "c:\backup scripts"

    ECHO From: > badmsg.txt
    ECHO To: >> badmsg.txt
    ECHO Subject: ***UNSUCCESSFUL*** Full Backup SERVER Data >> badmsg.txt
    ECHO Priority: High >> badmsg.txt
    ECHO. >> badmsg.txt

    ECHO From: > goodmsg.txt
    ECHO To: >> goodmsg.txt
    ECHO Subject: Successful Full Backup SERVER Data >> goodmsg.txt
    ECHO Priority: Normal >> goodmsg.txt
    ECHO. >> goodmsg.txt

    date /T >> backup.log
    time /T >> backup.log
    wbadmin start backup -backupTarget:\\BACKUPSVR\COMPANYSVR -include:c:,d: -vssFull -quiet > backup.log
    date /T >> backup.log
    time /T >> backup.log

    findstr /I "successfully completed" "c:\backup scripts\backup.log" >nul
    echo %errorlevel%
    if %errorlevel%==1 goto :bad

    type "c:\backup scripts\backup.log" >> "c:\backup scripts\goodmsg.txt"
    vmailer.exe goodmsg.txt
    goto end

    TYPE "c:\backup scripts\backup.log" >> "c:\backup scripts\badmsg.txt"
    vmailer.exe badmsg.txt
    goto end

Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.