Log shipping error in Event Viewer - Out of Sync

Hello there,

 I have a log shipping between my production db and report server. Both the DB are 2008R2. The schedule is as follows

BAckup - 9.30 to 17.30 Every 2 hours
Copy - 9.40 to 17.40 Every 2 hours
Restore - 9.45 to 17.45 Every 2 hours

But for some reason I get this error in the Event Viewer of the OS. The log shipping is taking place, i mean the report DB is getting updated every two hours too.then why this error


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vitor MontalvãoMSSQL Senior EngineerCommented:
A restore threshold of 45 minutes doesnt' match the info you posted about having backups every 2h (120 minutes).
zolfAuthor Commented:
Thanks for your feedback,can you please elaborate on it. As I am really new to this log shipping and am puzzled
Vitor MontalvãoMSSQL Senior EngineerCommented:
Read this MSDN article. For your issue see point 16:
"16.Note the copy schedule listed in the Schedule box under Copy job. If you want to customize the schedule for your installation, click Schedule and then adjust the SQL Server Agent schedule as needed. This schedule should approximate the backup schedule"
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

zolfAuthor Commented:
I have a schedule for the Copy as pointed in that article and my schedule is like so

BAckup - 9.30 to 17.30 Every 2 hours
Copy - 9.40 to 17.40 Every 2 hours
Restore - 9.45 to 17.45 Every 2 hours

I have given 10 mins break between backup and copy as you can see above or am i missing something,please bear with me.
Vitor MontalvãoMSSQL Senior EngineerCommented:
Double check the schedules since the error is pointing to 45 minutes and not 2 hours for the Restore.
I'm assuming that 10 minutes is more than enough for the transaction log backup so 5 minutes should also enough for the copy process, right?
zolfAuthor Commented:
Here are the screenshot for the 3 task i,e. Backup,Copy and Restore. Please have a look and let me know what I am doing wrong and what I need to change to get rid of that error.

Vitor MontalvãoMSSQL Senior EngineerCommented:
Can't say much by the screenshots.
Just to confirm, do you have any other Transaction Log backup job scheduled out of the Log Shipping process?
zolfAuthor Commented:
EugeneZ ZhitomirskySQL SERVER EXPERTCommented:
it is just warning

that you can ignore for this specific timeframe (if it is ok): for example if you have weekend DB mains DB reindex that makes your transaction logs larger and as result you got these warnings
if you get these warning all the time you may need to review the DB usage ( long heavy transactions ..)
oand adjust threshold time accordingly

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.