Solved

Configure a SQL 2008 Replication job (Copy a databse and replicate to it)

Posted on 2014-04-04
1
292 Views
Last Modified: 2014-04-13
Hi There,

I want to make a copy of a SQL database and replicate data from another database to it continously.  

So lets say I have production DB, I want to copy that and replicate to it and call it DevDB.

Please advise on how to do this in SQL 2008 and any gotchas or issues in doing this.

Thanks!
0
Comment
Question by:btny
1 Comment
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 39978495
"I want to make a copy of a SQL database"
You can use "Copy Database" task under SSMS, right click the DB you want to copy, and select the option from the "Task" menu that pops up.
http://msdn.microsoft.com/en-us/library/ms188664(v=sql.100).aspx

" replicate data from another database to it continuously. "
I suggest you setup a Transactional Replication
http://technet.microsoft.com/en-us/library/ms151706(v=sql.100).aspx
http://technet.microsoft.com/en-us/library/ms151254(v=sql.100).aspx

but if you really rally need "continuously" then see if Mirroring can serve your purpose:

http://blogs.technet.com/b/meamcs/archive/2010/12/04/sql-mirroring-amp-replication.aspx
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

Title # Comments Views Activity
using t-sql EXISTS 8 23
Auditing with Temporal Tables 4 19
Convert int to military time 8 20
Join vs where 2 0
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 …
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…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

747 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

8 Experts available now in Live!

Get 1:1 Help Now