October 23, 2014 at 4:56 am
Hi,
My Logshipping is showing out of sync (sqlserver 2008R2)
Please provided the steps to analysis & how to fix it
October 23, 2014 at 5:03 am
First Google result for log shipping out of sync is this article:
Have you tried any of these steps?
-- Gianluca Sartori
October 23, 2014 at 5:11 am
jamessdba (10/23/2014)
Hi,My Logshipping is showing out of sync (sqlserver 2008R2)
Please provided the steps to analysis & how to fix it
Have you run a full backup on the primary since LS broke?
Use this query against the primary and then against the secondary to find out if you have
select name, differential_base_lsn from sys.master_files
where database_id = db_id('yourdb') and type = 0
If the differential base lsn matches on both primary and secondary, stop all LS jobs.
Take a differential backup on the primary and then restore this to the secondary. Now restart all the LS jobs.
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply