dbTalk Databases Forums  

Copying DB withing the same server

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Copying DB withing the same server in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sandra
 
Posts: n/a

Default Copying DB withing the same server - 10-01-2003 , 08:44 PM






What is the fastest way to make a copy of a database.
Let's say, I have a database call my_db and I want to
recreate the same database and called my_db2. This is all
in the same server. Thanks in advance for any help. Sandra

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Copying DB withing the same server - 10-02-2003 , 01:19 AM






BACKUP and RESTORE for me is the best way of doing this

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Sandra" <silvah (AT) wellsfargo (DOT) com> wrote

Quote:
What is the fastest way to make a copy of a database.
Let's say, I have a database call my_db and I want to
recreate the same database and called my_db2. This is all
in the same server. Thanks in advance for any help. Sandra



Reply With Quote
  #3  
Old   
Sandra
 
Posts: n/a

Default Re: Copying DB withing the same server - 10-02-2003 , 03:03 PM




Quote:
-----Original Message-----
Using backup and restore is a very good way to get a
duplicate copy of a database. Using the DTS Export turns
views into tables, so this is definitely preferable.
Thanks for the great tip!
.

Actually I used the DTS and it did not turned the view
into tables. However I like the back and restored strategy
better.

Thanks everyone!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.