MSSQL - Log shipping fundamentals

Hello there,

I created a Log shipping between 2 servers using MSSQL 2008 R2 and MSSQL 2012. The log shipping sis working as expected ie.e. every 1 hour the Log shipping is scheduled from 9.00am to 5.00pm everyday, now my question is for e.g. if for some reason say network disconnect, the log shipping at 2pm was not able to take place, then the next schedule which is 3pm what happens. does it take into consideration that 2pm data from the source DB or the data between 1pm and 2pm is lost on the secondary DB. Can somebody please explain how it works.

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:
No worries if you have network issues. The process is smart enough to understand that a Log file is missing and will wait for the file to be copied through the Log Shipping process so it will apply it after the transaction log file will be available.
zolfAuthor Commented:
so from what i understood with the e.g. I have mentioned above, the log shipping will copy and restore the data from 2 to 3pm and 3 to 4pm. correct??
Vitor MontalvãoMSSQL Senior EngineerCommented:
Yes. The Log Shipping mechanism always knows which files being copied and which one didn't. It will restart from the last copied file.

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
zolfAuthor Commented:
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

From novice to tech pro — start learning today.