Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Database Mirroring SQL 2005

Posted on 2009-07-01
3
Medium Priority
?
148 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

721 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