Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 ...ATTN DNN Gurus - Advanced Staging/Production question!ATTN DNN Gurus - Advanced Staging/Production question!
Previous
 
Next
New Post
10/29/2008 9:50 AM
 

Guys,

I know somebody out there knows how to do this. I have a site set up in a staging / production environment. Both sites are on their own unique install with their own SQL database. I use SQL Server Management studio to copy the database from staging to production.. Works slick as hell.

I use a GREAT little file compare/sync utility I found to sync up the file & folder structure. http://www.scootersoftware.com/shop.php?bld=9222

The problem is, as people register on the site, fill out surveys, etc, there is data in the PROD database that is not in the DEV database. If I overwrite the entire database when updating the site, I lose all that data.

Any thoughts on how to update the PROD database without losing registration info, user accounts, passwords, logins, role assignments etc?

Any help would be greatly appreciated.

Thanks in advance!

 
New Post
10/29/2008 10:51 AM
 

Cody,

What kind of changes are you making in the development database? I'd recommend generating SQL scripts that create, drop, or update views/stored procedures/tables - that way you're only updating the necessary and not touching the data.

Also, I think Red Gate has a SQL Compare utility that may come in handy if you'd rather buy software to address the issue.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
10/29/2008 3:32 PM
 

Ian Robinson wrote
....Also, I think Red Gate has a SQL Compare utility that may come in handy if you'd rather buy software to address the issue. ...

I second Ian's suggestion we use Red Gates SQL Data Compare to move data between production and development and vice versa.  Now where was that referral code ;)

Antony

 
New Post
10/29/2008 4:45 PM
 

Personally, I've been using Red-Gate's tools since their 1.0 releases.  I cannot imagine serious SQL Server development or operations without them.

In the absence of a robust model for ad-hoc data lifecycle management (which is pretty non-trivial), tools like SQL Data Compare are really, really helpful.  As someone who manages a pretty fair amount of production data in a variety of DNN properties, I use this tool a great deal.

I do expect the next year to see enhancements which will help address these scenarios.  But for today, tools like this (and solid procedures) are really the most effective weapons in your operational arsenal.


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
10/29/2008 6:56 PM
 

I actually use a different tool.

Apex SQL-Diff

It deos the same as the Red Gate tools but I find it provides more flexibility in its options.


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...ATTN DNN Gurus - Advanced Staging/Production question!ATTN DNN Gurus - Advanced Staging/Production question!


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