Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a client who is using Windows Server 2008 (Small Business Server), and using Windows Backup.

What I need to do is configure the backup task so that, upon completion, it sends an email notifying the client of backup success or failure. I have been able to find that task in task scheduler, and even see where I can send an email...but I cannot find a way to make the content of the email different based on success or failure of the backup. How might I do this?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Here's what I think you can do: Find a success and a failure event in the Windows Backup event log, right click each event type and select the option "Attach task to this event", then set the parameters for the task for sending an email, yadayadayada. This should create two tasks that send one or the other email for each backup: one if the backup succeeds and a success event is logged, or one if the backup fails and a failure event is logged.

If there are no failure events in the Windows Backup log, then run the job, make it crash, confirm that a failure event is logged, and then set up the task for the failure event.

share|improve this answer

http://sbs.codeplex.com has examples of backup error codes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.