Solved

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

Posted on 2014-04-04
1
294 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

823 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