Solved

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

Posted on 2009-04-14
6
216 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
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
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…

912 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

24 Experts available now in Live!

Get 1:1 Help Now