dbTalk Databases Forums  

Synchornizing a Databases in different Servers

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


Discuss Synchornizing a Databases in different Servers in the microsoft.public.sqlserver.dts forum.



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

Default Synchornizing a Databases in different Servers - 11-16-2004 , 05:03 AM






We have testserver and Production sevrer. We have DB named say sampleDB in
testserver,which needs to be synchronizeb (i.e data ,structures ,
views,SP,etc(all objects)) with production server.

thanks in advance.

Reply With Quote
  #2  
Old   
Anthony Biondo Jr.
 
Posts: n/a

Default Re: Synchornizing a Databases in different Servers - 11-16-2004 , 01:34 PM






You could use the "Copy SQL Server Objects Task" in DTS to synchronize /
refresh your database. You just need to pick the source and destination
databases. I usually set the following options:

Create Destination objects (tables, views, sp, constraints, etc) (Checked)
Drop destination objects (Checked)
Include dependant objects (Not Checked)
Include extended properties (Not Checked)

Copy Data (Checked)
Replace existing data (Checked)

Use Collation (Not checked)
Copy all objects (Checked - unless you want to specify specific tables, sp,
views for your migration)
Use default options (Not Checked)
I usually uncheck
Copy Database Users and Roles
Copy Object level permissions

hope this helps,
Anthony


--
Anthony J Biondo Jr. - MCP
Senior Web Developer
Keystone Mercy Health Plan - Philadelphia, PA
www.keystonemercy.com


"vignesh" <vignesh (AT) discussions (DOT) microsoft.com> wrote

Quote:
We have testserver and Production sevrer. We have DB named say sampleDB in
testserver,which needs to be synchronizeb (i.e data ,structures ,
views,SP,etc(all objects)) with production server.

thanks in advance.



Reply With Quote
  #3  
Old   
Rand Boyd [MSFT]
 
Posts: n/a

Default Re: Synchornizing a Databases in different Servers - 11-17-2004 , 11:05 AM



If this is a one time sync then these steps will work. If it is going to
need to be consistently up to date you may want to look at log shipping or
replication.

Rand
This posting is provided "as is" with no warranties and confers no rights.


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.