This will describe what you will need to do to get your Windows Server to email you alerts when Windows Server Backup either succeeds or fails.
The article contains 2 sections, one for creating a task to notify you on failures. And one for notifying you on success. It does require access to an SMTP server.
Notify on failure
- Open Task Scheduler
- Create a task
- Tick the “Run whether the used is logged on or not” option
- Go to the trigger tab, press “New”, choose “On an event”, select “Custom” and then “New Event Filter”
- Select “By log”, then navigate to “Applications and services logs”, then “Microsoft, then “Windows” then find “WindowsBackup” and tick it
- Use the following Event ID’s
5,8,9,17-22,49,50,52,100,517,518,521,527,528,544,545,546,561,564,612
- Save your changes and navigate to the actions tab of the task
- Press “New” and select “Action: Send an email”. Fill out the details to you liking and save
If you want to test your email notifications, be sure to check the “Allow task to be run on demand” option under the Settings tab.
Notify on success
- Open Task Scheduler
- Create a task
- Tick the “Run whether the used is logged on or not” option
- Go to the trigger tab, press “New”, choose “On an event”, select “Custom” and then “New Event Filter”
- Select “By log”, then navigate to “Applications and services logs”, then “Microsoft, then “Windows” then find “WindowsBackup” and tick it
- Use the following Event ID’s
4
- Save your changes and navigate to the actions tab of the task
- Press “New” and select “Action: Send an email”. Fill out the details to you liking and save
If you want to test your email notifications, be sure to check the “Allow task to be run on demand” option under the Settings tab.
Refrence
// CrashMAG
Thanks for posting this.
I found it very useful. I have kept it for reference in my personal blog for quick access
Thanks again
Brian
Thanks, very useful info. I would however like to setup my task schedule to probe other servers on my network on their Windows Backup success failure alert. One email for all servers as opposed to a notification for each of our servers. You guys know how this would be possible.
Thanks, this is a brilliantly simple solution to so many alerting requirements!
Thanks for the Great Post, stumbled upon this by accident after searching for ages for this solution. My only addition is that the sender email address needs to be the email address of the account you use to create the scheduled task, as on a Domain Network it fails to send the email otherwise.
I get an error… email nofication .. task definition uses a deprecated feature
“Send an email” is deprecated for Windows 8/8.1 and Server 2012/2012R2.
You need to use the “Start a program” action and use Powershell as in the following example:
Program/script: powershell
Add arguments (optional): -Command “Send-MailMessage -To me@mydomain.com -Subject ‘Backup of SERVERNAME has FAILED.’ -Body ‘The scheduled backup on SERVERNAME is reporting a FAILURE.’ -SmtpServer mysmtpserver.mydomain.com -From backup@mydomain.com -Port 25″
i have a problem, after i click OK the pop up “An error has occurred for task “name test”. Error message: the following error was reported. The task definition uses a deprecated feature.
can idea for this?