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
Solved

Create Copy of Database using Restore Database Option

Posted on 2007-12-05
6
1,023 Views
Last Modified: 2012-06-21
Question: I would like to create a copy of our Live database for testing purposes. I have been told using the Restore Database is the best option for creating a copy of a database in SQL Server 2000. I am a little nervous because I have not used this option before and I don't want to make any changes to the original database. Could anyone offer the exact steps to take?
Thanks,

Traci
0
Comment
Question by:SasDev
6 Comments
 
LVL 17

Expert Comment

by:Chris Mangus
ID: 20414932
Someone didn't give you the full picture.  You would take a backup of your current production database and then restore it to a different, test server.
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 20414959
this page covers more or less all the technical issues:
http://msdn2.microsoft.com/en-us/library/ms190436.aspx

now, if you use the graphical interface, you just have to check out 2 important parts:
* ensure that you specify a different database name than the original (this new database name is not required to exist already...)
* in the advanced tab, ensure you specify file path for the restored files that do not clash with the original or any other database (except the one that you restore over, in case it would exist already).

if you do this via TSQL, this translates into using the WITH REPLACE (to overwrite an existing database) respectively the WITH MOVE keywords (to specify the new file locations)
0
 
LVL 17

Expert Comment

by:pssandhu
ID: 20414961
What version of SQL Server are you working on?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 20414986
aha.. someone did not read the full question :)  
sql 2000...
0
 
LVL 1

Author Comment

by:SasDev
ID: 20414993
SQL Server 2000
0
 
LVL 1

Author Closing Comment

by:SasDev
ID: 31412960
Thank you very much angelIII!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

808 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