Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

Community Wiki

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Navigation

Google Ads

Bring database out of Standby / Read-Only

From Wiki

Jump to: navigation, search

When using log shipping all your databases are typically set in Standby / Readonly mode. This means users and administrators can utilize the database for read purposes even while the logs are in a state upon restoring transaction files in order to keep the subscriber in synch to the time frames configured.

In the case of a disaster and when the standby database is required for read/write, you must bring the database up in online, read/write mode.

To do this is the same as bringing a database out of recovering with the RESTORE statement

USE MASTER GO RESTORE DATABASE {database_name} WITH RECOVERY

--onpnt 12:36, 23 April 2010 (GMT)

670 Rating: 2.5/5 (50 votes cast)