Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I need advice on SQL database synchI need advice on SQL database synch
Previous
 
Next
New Post
7/1/2008 3:35 PM
 

Hi,

I have my DNN sites are running on development and production servers. All the files on development server and production server are pretty much the same. Now the development DNN site connect to a development SQL 2005 database server and production DNN site is connecting to a production SQL 2005 server.

I am trying to have my internal staff to make change on the development site first before put it to the live server. Does anybody know the best way to have the database on developent server will synch or update to the production sql database server if anytime we change from the development sql server?

Manually or automatically fine with me

Thanks

 
New Post
7/2/2008 10:19 AM
 

You have to be very careful with this, as to actually implement it you must NEVER make changes on the other environment as your id's and other relational items can get out of sync with each other and cause total chaos.

You could most likely configure replication or another method if you truly want the dev database to be considered the actual data, but that would do it real time so most likely it will not meet your needs.

You might be able to use a DB compare tool to generate sync scripts when needed.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
7/2/2008 11:13 AM
 

After taking heed of Mitch's warnings have a look at the Red Gate SQL compare products (also the SQL comparison bundle).  When sync'ing the 2 databases you don't want to sync all the tables (e.g. the event and log tables). These products allow you to choose which tables and rows you want to sync. We have found them very useful.

HTH

Antony

 
New Post
7/7/2008 2:45 PM
 

Thanks for your input

But I still do not understand what is the real purpose of setting the site on development server and production server if we can not synch database with each other?

 
New Post
7/8/2008 5:46 AM
 

You can sort of sync them using tools - but as said above, you have to be careful!  There is not any inbuilt functionality in DNN to do this syncing for you, but you *could* use SQL server replication.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I need advice on SQL database synchI need advice on SQL database synch


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out