Solved

Database Mirroring SQL 2005

Posted on 2009-07-01
3
145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 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