Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Log Shipping Stanby Restore Expand / Collapse
Author
Message
Posted Tuesday, February 19, 2013 2:04 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, September 9, 2013 8:12 AM
Points: 137, Visits: 297
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?

Post #1421844
Posted Thursday, February 21, 2013 7:47 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 7:11 AM
Points: 6,277, Visits: 13,509
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"
Post #1422590
Posted Thursday, February 21, 2013 7:54 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, September 9, 2013 8:12 AM
Points: 137, Visits: 297
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.
Post #1422599
Posted Thursday, February 21, 2013 8:16 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 7:11 AM
Points: 6,277, Visits: 13,509
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"
Post #1422620
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse