SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 High Availability (2008)
 Restore from the log shipping database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

csaha
Yak Posting Veteran

52 Posts

Posted - 10/09/2012 :  19:55:04  Show Profile  Reply with Quote
What steps should I follow to make the secondary server as the primary server where the database is in read only mode. Do I inactivate log shipping and restore the read only database from the transaction log.

tkizer
Almighty SQL Goddess

USA
35951 Posts

Posted - 10/10/2012 :  17:06:46  Show Profile  Visit tkizer's Homepage  Reply with Quote
Disable the LS jobs. Recover the database with either a final tlog backup if you can get it or recover what you have on the secondary.

RESTORE LOG ...
FROM ... <--omit this if you can't get the final tlog backup in the case of a disaster or similar
WITH RECOVERY

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000