Getting NTBackup to email logs / performance reports

I am not using SBS2003's 'Server Backup Wizard', as it lacks a lot of the basic features I'd expect in a backup wizard - Namely I can't see an easy option to configure 'incremental/diff' backups! It may be there, but I couldn't find it!

Anyway, I have configured NTbackup with a full backup on Wednesday and a full backup on Friday, with incrementals inbetween. This is the setup I'm happy with. It's working fine, however I noticed when I receive my morning email with the server performance reports, it states 'backup did not run'. How can I tell the system that it's not using the 'Server Backup Wizard', and to correctly report whether the backup has run?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew OakeleyConsultantCommented:
download blat and use that to email logs.

Code snippit attached to find the latest log
REM| Change to backup log directory to search for the latest log file to send |
cd C:\Documents and Settings\sysadmin\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\

REM| This dir command will list all log files sorted by date in bare format   |
set fcmd=dir "%fld%*.log" /OD /A-D /B

REM set command will set lastf variable to the last file in set, i.e. the latest one
for /F "tokens=* delims= " %%i in ('%fcmd%') do set lastf=%fld%%%i

REM| convert the unicode file to ascii to allow it to be emailed.             |
TYPE %lastf% > emaillog.txt

REM Send emails to CorporateComputers to monitor backups.

blat emaillog.txt -subject "Nightly Backup Report" -to -f -server

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
UncleVirusAuthor Commented:
You sir, are what's commonly known as a legend! I will award you a big juicy 500 points :-) That worked perfectly. That is *Exactly* what I wanted.

I also wanted to know how to send it to a second recipient, but a quick RTFM helped :)
UncleVirusAuthor Commented:
Simply amazing! Quick reply and perfect.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.