Jan 17

I have a older program who’s backup process is a bit flaky.   And there is no notification to me on whether it actually backed up or not.   Then I ran across this little program called Blat (www.blat.net), and it gave me an idea.  I now have a script that runs after the scheduled backup window (via Task Scheduler) to check to see if the file is actually in the backup folder and if not, to email me.

Here is the script:

If exist “\\server\share$\backups\*.zip” goto Worked
: DidNotWork
<path to blat>\blat.exe – -body “Backup did not work!!!” -to <email> -server <emailserver>-f <from email address> -subject “Backup did not work!!!”
:Worked

Just change the items in the bracket <> and the subject and body (if you want to).

Share

Comments are closed.