Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Backup

05 Aug 2011   #1
JDobbsy1987

Windows 8.1 Pro x64
 
 
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
.

05 Aug 2011   #2
carwiz

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
06 Aug 2011   #3
JDobbsy1987

Windows 8.1 Pro x64
 
 

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
.


06 Aug 2011   #4
carwiz

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
07 Aug 2011   #5
mjf

Windows 7x64 Home Premium SP1
 
 

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

Windows 7 Pro-x64
 
 

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

Windows 7x64 Home Premium SP1
 
 

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.
My System SpecsSystem Spec
25 Aug 2011   #8
JDobbsy1987

Windows 8.1 Pro x64
 
 

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




Thread Tools





Similar help and support threads
Thread Forum
Windows Backup and Restore fails to create backup
I've used Windows Backup and Restore successfully on many occasions but I now get the error "0x81000037: Windows Backup failed while trying to read from the shadow copy on one of the volumes being backed up" and I don't understand it. I've spent hours researching this issue and cannot seem to...
Backup and Restore
(windows Backup) deleting old backup states simple question
I got a simple question, let me explain it like an example: Let's say I backup 100GB of data with Windows Backup and over the time where I do all my backups there is like only 30GB of data which changed from those 100GB and also new files were added. Now my external drive is full. When I now delete...
Backup and Restore
When Backup Runs, Windows Reports Backup Target Disk Removed
My Win 7 x64 machine (Dell) has three hard drives in it. The original 2TB Seagate with the operating system on it, C:, a 2TB WD used for data storage,F:, ..and a 1TB Seagate repurposed from the XP computer it replaced. That last drive contains only data as that was its purpose in the previous...
Backup and Restore
Backup takes 800GB? Manage Windows Backup Disk Space
How do I control how much disk space my Windows Backup takes up? I have a 1TB external disk for backups and other files. My computer's HDD only has about 250GB capacity. I don't know why my backups file got so bloated. What should I do? I see that I can delete the older backup file: 22-Oct to...
Backup and Restore
system image backup - how does windows pick the drives to backup?
Hi From times to times I load my disk image backup from win7 system and install the new programs/drivers i was using and save a new backup. I usually to do this by backing up my C: drive, but this turn to my surprise, windows for some reason wants to backup C and D, is it possible to pick a...
Backup and Restore
Windows Backup vs 3rd party Backup solution.
Checking out the windows backup option bundled with the OS.. In the past, I have used an older version of Acronis to build backup jobs, etc. The new backup looks to be pretty good initially, but I am wondering if anyone has any experience with how well it performs... I know I have been asking a...
Backup and Restore

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 17:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App