Beruflich Dokumente
Kultur Dokumente
1 of 4
http://www.backup4all.com/kb/how-to-get-a-daily-report-with-all-backu...
1/17/2017 10:48 AM
2 of 4
http://www.backup4all.com/kb/how-to-get-a-daily-report-with-all-backu...
6. Press OK
7. Go to XML tab of the filter you created and copy the following part:
[System[Provider[@Name='Backup4all 6'] and (EventID=%EVENT_ID%) and
TimeCreated[(@SystemTime>'%dtDay%T00:00:00') and (@SystemTime<'%dtDay%T23:59:59')] ]]"
You can use the following batch to export the Event Viewer filter.
1/17/2017 10:48 AM
3 of 4
http://www.backup4all.com/kb/how-to-get-a-daily-report-with-all-backu...
Create a new .bat file and put the following code inside.
For Backup4all 6:
::---------------------------------------------------------------:: @echo off
SET dtDay=%date:~-4%-%date:~4,2%-%date:~7,2%
:: success events
SET EVENT_ID=256
:: warning events
:: SET EVENT_ID=258
:: error events
:: SET EVENT_ID=259
echo ^<?xml version="1.0" ?^> > todays_errors.xml echo ^<events^> >> todays_errors.xml wevtutil qe
Application /q:%QUERY% /f:XML >> todays_errors.xml echo ^</events^> >> todays_errors.xml
::-------------------------------------------------------------
For Backup4all 5:
::---------------------------------------------------------------:: @echo off
SET dtDay=%date:~-4%-%date:~4,2%-%date:~7,2%
:: success events
SET EVENT_ID=256
:: warning events
:: SET EVENT_ID=258
1/17/2017 10:48 AM
4 of 4
http://www.backup4all.com/kb/how-to-get-a-daily-report-with-all-backu...
:: error events
:: SET EVENT_ID=259
echo ^<?xml version="1.0" ?^> > todays_errors.xml echo ^<events^> >> todays_errors.xml wevtutil qe
Application /q:%QUERY% /f:XML >> todays_errors.xml echo ^</events^> >> todays_errors.xml
::-------------------------------------------------------------
The following line is from the Windows Event filter you created, you can find it on the xml tab. Replace it
with your filter.
For Backup4all 6:
*[System[Provider[@Name='Backup4all 6'] and (EventID=%EVENT_ID%) and
TimeCreated[(@SystemTime>'%dtDay%T00:00:00') and (@SystemTime<'%dtDay%T23:59:59')] ]]"
For Backup4all 5:
*[System[Provider[@Name='Backup4all 5'] and (EventID=%EVENT_ID%) and
TimeCreated[(@SystemTime>'%dtDay%T00:00:00') and (@SystemTime<'%dtDay%T23:59:59')] ]]"
Applies to:
Backup4all 5.x, 6.x
1/17/2017 10:48 AM