Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

Policy Based Management - Last Successful Backup Date

$
0
0
I want to be notified by email of databases not backed up in last 24 hours.  In SQL Server 2008 R2, I set up the "Last Successful Backup Date" policy.  The policy fires as expected and puts a 34052 event id in the Application Log.  I created a SQL Agent alert to detect the 34052 event, and respond by sending an email to the SQL Agent operator.  The problem is that the email says only that the policy has been violated; it doesn't tell me which database is out of compliance?  I know that I could instead set up an alert response to call a job which could parse the "A-MSG" to get the database name(s), but that seems like a way indirect way to get the information.  Is there a more direct way to automatically parse the message and put the detail in a email?  Thanks.

Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>