Solved

Copy database and rename in SQL 2008

Posted on 2013-06-23
3
292 Views
Last Modified: 2013-06-24
I have a database named CAPRegisters.  I would like to create a copy of this database with all the structure and data and rename the new database as CAPRegisters2012.

How can I do this?
0
Comment
Question by:al4629740
3 Comments
 
LVL 8

Accepted Solution

by:
didnthaveaname earned 500 total points
ID: 39270160
I had a post to a question about migrating from sql server '05 to '08 R2.  While the situation for you is different, the options are the same. Take a look here: http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL_Server_2008/Q_28121746.html#a39148501 - you would just have a target db that is named why you want instead of the same as the source db. In your case, a backup/restore is probably going to be the simplest method.  Hope that helps!
0
 

Author Comment

by:al4629740
ID: 39270183
Should I backup the file first and then restore from device?

Or should I just restore direct from database?
0
 
LVL 21

Expert Comment

by:Alpesh Patel
ID: 39270314
Just Restore Database with Different name and Source is DAtabase not Backup file

OR

Copy database option is also there.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

20 Experts available now in Live!

Get 1:1 Help Now