Solved

We have an SQL 2008 R2 database instance running 24/7. I need to make a copy of it that instance and run it as a test database on the same server with no down time or interference with the existing

Posted on 2013-01-08
7
256 Views
Last Modified: 2013-01-13
We have an SQL 2008 R2 database instance running 24/7. I need to make a copy of it that instance and run it as a test database on the same server with no down time or interference with the existing database. I want to run them on the same server as separate instances.  Can anyone help me do this without interfering with the existing instance?
0
Comment
Question by:boxer327
7 Comments
 
LVL 13

Assisted Solution

by:LIONKING
LIONKING earned 250 total points
ID: 38755168
Do you want to make another SQL Server "Instance" or just copy the database and use it for testing purposes?

If you want to make another SQL Server instance, you will have to run the installer all over again, name your instance and configure it with the same values as the one you have running.
0
 
LVL 22

Expert Comment

by:Steve Wales
ID: 38755184
The procedure is pretty simple.

Take a backup of the existing database, then restore it as a new database.

You can do that as a database in a new instance (as noted by LIONKING) or as a database in your existing instance.
0
 

Author Comment

by:boxer327
ID: 38755983
I want to make a copy of the existing database and run it as a separate instance.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 22

Accepted Solution

by:
Steve Wales earned 250 total points
ID: 38756015
Then the above couple of posts will work.

Take a backup of you current database.
Install a new instance on the server.
Restore the backup to the new instance.

Done!
0
 
LVL 69

Expert Comment

by:ScottPletcher
ID: 38756161
When you restore the db, be sure that you override the existing file names, otherwise you might damage the original db (SQL is pretty good about preventing you from doing that, but you might be able to force it to happen).
0
 
LVL 21

Expert Comment

by:Alpesh Patel
ID: 38758495
Just backup the database and create new for restore a copy as you require. there is no down time to take backup.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

746 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

17 Experts available now in Live!

Get 1:1 Help Now