Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to copy a database

Posted on 2012-03-19
4
Medium Priority
?
274 Views
Last Modified: 2012-03-19
Hello experts,

I need to copy a complete database, including store procedures, tables and so on into another emty database.
I am new to this and I was wondering if you know any tutorial with pictures step by step using the wizard method.

I am using MSSQL 2008

Thank you
0
Comment
Question by:shpresa
  • 2
4 Comments
 
LVL 7

Expert Comment

by:barlet
ID: 37739023
You can do it with backup and restore...
Right click on your database and backup/restore

This is rhe easiest way...
0
 
LVL 13

Expert Comment

by:IT-Monkey-Dave
ID: 37739027
I've done this several times using SQL Server's built-in backup and restore.  Works like a charm.
0
 
LVL 7

Accepted Solution

by:
barlet earned 2000 total points
ID: 37739045
Have a look at the following link
 http://www.codebarlet.com/2012/01/19/database-backup/
0
 
LVL 40

Expert Comment

by:lcohan
ID: 37739133
Why not just use the SQL built in "Copy" feature from SSMS??
Just right click on a SQL 2008 SSMS then select "Copy Database.." from the drop down menu and follow the easy to use wizzard.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

972 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