Log Shipping Stanby Restore

  • I am currently log shipping databases to a warm recovery server and my users would like to have read access to the data. I have two questions:

    SQL Server Log Shipping with Standby gives you the choice of disconnecting all users before applying the log or waiting for all users to disconnect before applying the log(s). I am using Red Gate SQL Backup to do my Log Shipping and I cannot find any information on setting this option. Does SQL Backup give you this choice?

    All my research into Standby says that it is for offline restores only. What is an offline restore versus an online restore?

  • The users have to be disconnected for the log restores to take place. The database engine is just deferring this action until users are clear, this from Books Online

    SQL Server Books Online


    There are two options for configuration when you place the secondary database in standby mode:

    You can choose to have database users disconnected when transaction log backups are being restored. If you choose this option, users will be disconnected from the database each time the log shipping restore job attempts to restore a transaction log to the secondary database. Disconnection will happen on the schedule you set for the restore job.

    You can choose not to disconnect users. In this case, the restore job cannot restore transaction log backups to the secondary database if there are users connected to that database. Transaction log backups will accumulate until there are no user connections to the database.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Yes, I know this is how SQL Server Log Shipping works. You set the option when you set up the log shipping using the GUI. However, as I stated, I am using Red Gate SQL Backup to do my log shipping and, while it offers an option to place a database in STANDBY, it does not specify how to choose one of the options nor which one is the default. This is what I need to know.

  • have you tried the Redgate forums or just raise a support call and ask the Redgate support desk, they're very helpful

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

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

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