How do I e-mail backup logs after the backup is performed?

Hi there,

Basicly I've scripts ( .bat ) performing backups from every server, every day, and I want to recive the backup logs in my mail box.

I don't have any clue how this is made, or if it is even possible, any help would be awesome.

Thanks in advance.
myseLFFFAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
mpeacockbcConnect With a Mentor Commented:
You may be able to output the results of the batch file to a text file and then have either a third party app monitor that file for changes and email it, ir call the app from another batch file.

I have two batch file routines but I dont email my logs from there. I just save them on the server for review if needed.

Another thought is finding a task scheduling program that will email the results of a task. The new windows7 task scheduler has an email component but Ive not had a chance to play with it yet.
0
 
SysExpertCommented:
BLAT is one of a few free email programs that work from a command line and are easy to use to do this.

I hope this helps !
0
 
SysExpertConnect With a Mentor Commented:
0
NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

 
myseLFFFAuthor Commented:
sorry for the long time response, I had another issues to solve.
Although, can I export the logs just by adding this cmd " > c:\app\Batch_backups\logs\backup_2.log " to the end of the .bat script?
0
 
SysExpertCommented:
Yes you can in most cases.

Depends on what program you are using for creating your backups.
robocopy and NTbackup both fave options for a log file.

0
 
myseLFFFAuthor Commented:
I got it, thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.