Log shipping restore

  • 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?

  • 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

  • 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.

  • 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/[/url]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.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply