Solved

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

Posted on 2009-04-14
6
219 Views
Last Modified: 2013-12-17
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.
0
Comment
Question by:myseLFFF
  • 3
  • 2
6 Comments
 
LVL 1

Accepted Solution

by:
mpeacockbc earned 250 total points
ID: 24141247
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
 
LVL 63

Expert Comment

by:SysExpert
ID: 24143600
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
 
LVL 63

Assisted Solution

by:SysExpert
SysExpert earned 250 total points
ID: 24143608
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:myseLFFF
ID: 24146425
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
 
LVL 63

Expert Comment

by:SysExpert
ID: 24147047
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
 

Author Comment

by:myseLFFF
ID: 24147468
I got it, thanks
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question