Solved

Database Mirroring SQL 2005

Posted on 2009-07-01
3
138 Views
Last Modified: 2012-05-07
How would I mirror a database on the same physical server as well as on the same instance?

If not possible can I create a database mirror on the SAME server but on another instance?

 
0
Comment
Question by:vyotsukura
  • 2
3 Comments
 
LVL 7

Expert Comment

by:wilje
ID: 24757893
You can't mirror to the same instance - because you can't have the same database name more than one time.
You can set it up to mirror to another instance on the same server, but I have to ask what you are trying to accomplish.  I don't understand the requirement to mirror to the same server.
0
 

Author Comment

by:vyotsukura
ID: 24763240
Wilje:

Thanks that is what I expected.

In our environment, we have  production and testing as separate databases. I have to constantly be restoring backups of production to the testing dB. Instead, I would like to create a mirror using the production as the source and the testing as the target. I have all this on one server only.
0
 
LVL 7

Accepted Solution

by:
wilje earned 500 total points
ID: 24763839
I don't think a mirror is going to work for you.  A mirror is not accessible while you are mirroring, so you would have to break the mirror to make is accessible as a copy.  Once you do that, you would have to setup mirroring again.
That would be a lot more work than just scheduling a daily restore to a test database.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

21 Experts available now in Live!

Get 1:1 Help Now