Sign up ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

There are batch jobs that occur in the middle of the night, which cause log shipping backups to be delayed such that they exceed the alert threshold, and alerts are then emailed.

How can I disable these alerts during this period only?

I don't want to reduce the alerting threshold for the entire day.


share|improve this question

1 Answer 1

up vote 1 down vote accepted

One approach is to use sp_help_log_shipping_alert_job to find the log shipping alert job ID and then use sp_update_job to suspend the job during maintenance. Enable it back when maintenance is done. I don't know whether the job would not immediately send an alert upon being enabled back though.

share|improve this answer
A slight variation of this appears to be just what I need - manually modifying the job (outside of the actual log shipping UI) to exclude certain hours in the alert job's schedule. – Nik May 7 '13 at 13:30

Your Answer


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.