Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Windows Backup

 
08-05-2011   #1


Windows 7 Pro SP1 64-bit
 
 

Windows Backup

Hi,

Does anyone know how to get the built in Windows Backup to produce a log file somewhere?

I currently have a daily backup setup and then i have also put some other scripts around it to send me an email when the backup starts and when it has finished however i would like the finished backup email to include a log file to tell me if it was successful or failed.

In order to do this i just need to be able create a simple text log file each time it is run?

Regards,
JDobbsy1987

My System SpecsSystem Spec
08-05-2011   #2


Windows 7 Pro-x64
 
 


Have you checked the Backup Log File? Double clicking the file will envoke the event viewer snapin.

C:\Windows\System32\winevt\Logs\Microsoft-Windows-Backup.evtx
My System SpecsSystem Spec
08-06-2011   #3


Windows 7 Pro SP1 64-bit
 
 


Thanks for your reply...

I have checked this however it shows as being successful even though i know the backup actually failed LOL.

On another note, i would need the report to be in a .txt format so i can use the text file as the body of the email that i am planning on sending.

Regards,
JDobbsy1987
My System SpecsSystem Spec
.


08-06-2011   #4


Windows 7 Pro-x64
 
 


Quote   Quote: Originally Posted by JDobbsy1987 View Post
I have checked this however it shows as being successful even though i know the backup actually failed LOL.
What did you base this on? There's several codes used under the 100 and 101 Event IDs. These are just start and stop events, not "completion". You'll need to decode "hc_stateid" to determine why the Event ID was generated. Good luck with that--I've only been able to see that "0" is a success. I haven't delved into the other codes such as 2, 7, 10, 11, 17 but I'm sure these specify whether the Event is a backup, restore, image or image restore. This code is not documented anywhere in Microsoft's public data.

Quote:
On another note, i would need the report to be in a .txt format so i can use the text file as the body of the email that i am planning on sending.
I haven't tried but there's an Email option in the Action Center under "Attach Task To This Event". Other than being able to Copy the events to a text file, the log data is written in XML. You'd have to convert that.

There's no other options available, that I know of, for tracking Backups.
My System SpecsSystem Spec
08-07-2011   #5
mjf


Windows 7x64 Home Premium SP1 x 2
 
 


Have you looked down the trail
Event viewer>Application & service logs>Windowslogs>Microsoft>Windows>....
Backup or Windows backup.
My System SpecsSystem Spec
08-07-2011   #6


Windows 7 Pro-x64
 
 


The Event Viewer (Backup Log) is what we were talking about MJF.
My System SpecsSystem Spec
08-07-2011   #7
mjf


Windows 7x64 Home Premium SP1 x 2
 
 


Quote   Quote: Originally Posted by carwiz View Post
The Event Viewer (Backup Log) is what we were talking about MJF.
yes indeed - my mistake.

Under event viewer there are "Applications and services logs" (where I was pointing) and "Saved logs" where the evtx file seems to open up to.

Last edited by mjf; 08-07-2011 at 06:21 PM..
My System SpecsSystem Spec
08-25-2011   #8


Windows 7 Pro SP1 64-bit
 
 


Quote   Quote: Originally Posted by mjf View Post
Have you looked down the trail
Event viewer>Application & service logs>Windowslogs>Microsoft>Windows>....
Backup or Windows backup.
I am very sorry to have not replied for 2 weeks.

This location is perfect for the event, now i just need to be able create a script to export that to a text file if that is even possible?

If someone knows please help but otherwise if i figure it out i will post back with the solution.

Regards,
JDobbsy1987
My System SpecsSystem Spec
Reply

 Windows Backup problems?



Thread Tools



Similar Threads for: Windows Backup
Thread Forum
When Backup Runs, Windows Reports Backup Target Disk Removed Backup and Restore
(windows Backup) deleting old backup states simple question Backup and Restore
Backup takes 800GB? Manage Windows Backup Disk Space Backup and Restore
system image backup - how does windows pick the drives to backup? Backup and Restore


All times are GMT -5. The time now is 08:39 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30