Alret when restore not happened from last 5 hours in Logshipping

  • Hi Friends,

    I need you idea for setting up Monitors for Logshipping, If Last restore does not happened from last 5 hours i am not receiving alert, I need some solutions on this? Can any one help on this . we need to setup a alert job to monitor the restoring backs ups on secondary server. If possible can you please send the script for creating the job?

  • you can query msdb database(restorehistory table) of the secondary instance to check if the restore did not happen for 5 or more hours. If the query returns true, send an email to designated users.

    How to send email http://msdn.microsoft.com/en-us/library/ms190307.aspx%5B/url%5D

    How to setup database mail [url]http://www.sql-server-performance.com/2006/email-functionality/"> http://msdn.microsoft.com/en-us/library/ms190307.aspx%5B/url%5D

    How to setup database mail http://www.sql-server-performance.com/2006/email-functionality/

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply