Solved

Putting database from normal to standby

Posted on 2008-10-17
3
290 Views
Last Modified: 2012-05-05
This is Primary - standby configuration

when the database was in standby in Management Studio DBNAME(standby)

performed recover database <database name > with recovery

Now is it possible put it back on standby. If so can anyone give a T-SQL

Thanks
0
Comment
Question by:Greens8301
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
PIERCGG earned 500 total points
ID: 22744113
The ONLY way I know to place the database in standby mode to do it as part of the restore.  You must do the RESTORE WITH STANDBY option when you restore the database; not after the database is already restored.
0
 

Author Comment

by:Greens8301
ID: 22744270
The primary is being accessed by users. Therefore it not switched over

In oracle , we can put the STANDBY database on Managed Recovery mode and take it off from Managed recovery mode.

Is there a way to find what mode is the database ON and switch to standby mode

Thanks
0
 

Author Closing Comment

by:Greens8301
ID: 31507230
Thanks.
These questions for my own theoretical knowledge.
The actual command are typed another dba
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
get all customers 2 39
How to SUM hours for the same record 1 27
sql help 5 49
SQL Server 2012 express 24 30
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now