Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

LSAlert Job References OLD Database

$
0
0
I'm using LogShipping and have it running on 2 databases just fine.  The job that was created when I set up and was testing the LogShipping called LSAlert runs every 2 minutes and fails because it is referencing an OLD database that was used to set up the testing of the LogShipping.

How do I get it to stop trying to find that database (Rep_TEST)?  The script that is run is:

exec sys.sp_check_log_shipping_monitor_alert 

And the error in the logs is:

Date17/02/2011 1:50:00 PM
LogJob History (LSAlert_SQLSERVER)

Step ID1
ServerSQLSERVER
Job NameLSAlert_SQLSERVER
Step NameLog shipping alert job step.
Duration00:00:00
Sql Severity16
Sql Message ID14420
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted0

Message
Executed as user: OFFICE\dw. The log shipping primary database SQLSERVER.Rep_TEST has backup threshold of 60 minutes and has not performed a backup log operation for 27380 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14420).  The step failed.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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