Solved

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

Posted on 2009-04-14
6
213 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
Comment Utility
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
Comment Utility
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
Comment Utility
0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 

Author Comment

by:myseLFFF
Comment Utility
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
Comment Utility
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
Comment Utility
I got it, thanks
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Is your computer hacked? learn how to detect and delete malware in your PC
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now