Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

log shipping job failing

$
0
0

HI guys,

We are using SQL SERVER 2005.

I am having a LSAlert_Serv job and this job runs the system stored procedure sys.sp_check_log_shipping_monitor_alert. when this job is run I am getting the following error message: 


Here is the error message I am getting :
The log shipping primary database SHARP has backup threshold of 60 minutes and has not performed a backup log operation for 7368 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14420). The step failed.

The database named SHARP that is mentioned in the above error message is now moved to another server. 
When I looked into the stored procedure and when i ran the below query from the Stored procedure :

select primary_server
,primary_database
,isnull(threshold_alert, 14420)
,backup_threshold
,cast(0 as int)
from msdb.dbo.log_shipping_monitor_primary
where threshold_alert_enabled = 1

I can still see the database SHARP in the table msdb.dbo.log_shipping_monitor_primary. So, is it the reason for failure? If so, what to do to update the table msdb.dbo.log_shipping_monitor_primary and to fix the issue.

Thanks


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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