SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Log shipping restore


Log shipping restore

Author
Message
dhydier
dhydier
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 11
Hi All,
Thanks in advance for your help.
I am looking to setup log shipping to a report server but I do not want to disconnect users to do the restore. If I choose not to disconnect users for the log shipping restore, how soon will the logs be restored? As soon as all users are disconnected or at the next restore time? Some jobs run for over 2 hours and I want to setup log shipping to occur every hour. I am assuming the logs will be queued for restore until the report server can restore them?
Sue_H
Sue_H
SSC Guru
SSC Guru (72K reputation)SSC Guru (72K reputation)SSC Guru (72K reputation)SSC Guru (72K reputation)SSC Guru (72K reputation)SSC Guru (72K reputation)SSC Guru (72K reputation)SSC Guru (72K reputation)

Group: General Forum Members
Points: 72208 Visits: 14878
dhydier - Thursday, October 11, 2018 6:05 AM
Hi All,
Thanks in advance for your help.
I am looking to setup log shipping to a report server but I do not want to disconnect users to do the restore. If I choose not to disconnect users for the log shipping restore, how soon will the logs be restored? As soon as all users are disconnected or at the next restore time? Some jobs run for over 2 hours and I want to setup log shipping to occur every hour. I am assuming the logs will be queued for restore until the report server can restore them?


The users have to be disconnected for the log restores. You can delay the restores but they need to be done eventually.
The logs are restored when you schedule them. You are the one who controls that. If the logs aren't restored, the users need to understand it's not current data.
The log backup job on the primary can run every hour and the files would be available to the secondary in the folder you specified at startup.

Sue



PearlJammer1
PearlJammer1
SSCertifiable
SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)

Group: General Forum Members
Points: 7217 Visits: 1633
Have you considered Transactional Replication? If you know the tables you need to report from, you can just choose those tables to be involved in the replication.Any changes to the tables would be immediately copied across (allowing for any network latency). Users wouldn't be disconnected either.
Brandie Tarvin
Brandie Tarvin
SSC Guru
SSC Guru (155K reputation)SSC Guru (155K reputation)SSC Guru (155K reputation)SSC Guru (155K reputation)SSC Guru (155K reputation)SSC Guru (155K reputation)SSC Guru (155K reputation)SSC Guru (155K reputation)

Group: General Forum Members
Points: 155257 Visits: 9804
Another option to consider is a secondary availability group database. Assuming the instance is clustered, you can set up an AG and it'll always move the transactions without needing to take the secondary DB offline and restore.

Or Database Mirroring would work too. That can be read off of.

Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search