Another monitoring tweak that I did tonight was to get the SBS 2008 to send more direct/specific alerts regarding backup.

I’m a control freak.  What can I say, so I want to know when the backup has run and to make sure it’s completed successfully during the several times of day it runs and I want to know NOW not later.

Obviously using third party backup software does this, but what if you want to see if the native SBS backup does it as well?

All you have to do is add a task to email you an alert directly from the backup event log

See that successful backup?

In the corner click on attach task and set up an alert to email you when the task is hit

Once you build it you can go into scheduled tasks and export it from one box to another…

<?xml version=”1.0″ encoding=”UTF-16″?>
<Task version=”1.2″ xmlns=”http://schemas.microsoft.com/windows/2004/02/mit/task“>
  <RegistrationInfo>
    <Date>2009-12-01T18:15:39.0535976</Date>
    <Author>DOMAIN\SBSaccount</Author>
    <Description>Backup finished successfully.</Description>
  </RegistrationInfo>
  <Triggers>
    <EventTrigger>
      <Enabled>true</Enabled>
      <Subscription>&lt;QueryList&gt;&lt;Query Id=”0″ Path=”Microsoft-Windows-Backup”&gt;&lt;Select Path=”Microsoft-Windows-Backup”&gt;*[System[Provider[@Name=’Microsoft-Windows-Backup’] and EventID=4]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
    </EventTrigger>
  </Triggers>
  <Principals>
    <Principal id=”Author”>
      <UserId>DOMAIN\SBSaccount</UserId>
      <LogonType>Password</LogonType>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <IdleSettings>
      <Duration>PT10M</Duration>
      <WaitTimeout>PT1H</WaitTimeout>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context=”Author”>
    <SendEmail>
      <Server>IP of Server</Server>
      <Subject>Backup completed successfully</Subject>
      <To>sbradcpa@pacbell.net</To>
      <From>SBSaccount@domain.com</From>
      <Body>Backup finished successfully.</Body>
      <HeaderFields />
    </SendEmail>
  </Actions>
</Task>

 

Don’t let all that xml stuff freak you out.  Just run the wizard inside the task manager and build an alert.  It’s very easy.

 

One Response to Backup alerts – alerting for success

  1. DannyS says:

    For some reason I can’t get this working. I tried at 3 seperate client server sites. It seems to be an issue with e-mailing. The error in the Task History is Event 202, Error Value: 2147746323. I’ve tried both the SBS server IP and Name. I’d be thankful for any help with this…. Thank You!