I have set up log shipping on a SQL 2014 server to copy data from a primary to a secondary server. This is all working correctly backing up, copying and restoring however the alerting which is configured to run to the secondary server is reporting that
the last backup time is the time of the initial backup full before log shipping starts. This is the information that is reported when I query the msdb.dbo.log_shipping_monitor_primary table. Consequently when the monitoring alert runs, it reports:
Msg 14420, Level 16, State 1, Procedure sp_check_log_shipping_monitor_alert, Line 61
The log shipping primary database XXXXXXX.xxxxxxx has backup threshold of 60 minutes and has not performed a backup log operation for 1120 minutes. Check agent log and logshipping monitor information.
SQL server was originally installed before the server was renamed to its current name however I have renamed the instance and all queries of the database (e.g. SELECT @@SERVERNAME) return the correct servername.
Msg 14420, Level 16, State 1, Procedure sp_check_log_shipping_monitor_alert, Line 61
The log shipping primary database XXXXXXX.xxxxxxx has backup threshold of 60 minutes and has not performed a backup log operation for 1120 minutes. Check agent log and logshipping monitor information.
SQL server was originally installed before the server was renamed to its current name however I have renamed the instance and all queries of the database (e.g. SELECT @@SERVERNAME) return the correct servername.