Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2009-04-14
6
Medium Priority
?
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 1

Accepted Solution

by:
mpeacockbc earned 750 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 750 total points
ID: 24143608
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

604 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