October 11, 2018 at 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?
October 12, 2018 at 4:58 pm
dhydier - Thursday, October 11, 2018 6:05 AMHi 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
October 15, 2018 at 7:21 am
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.
October 15, 2018 at 10:46 am
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.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply