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 ...Migration from Test -> DevMigration from Test -> Dev
Previous
 
Next
New Post
7/4/2006 1:40 PM
 

I'm currently designing a DotNetNuke 4.x intranet site for a client. After initial release I will need a test to dev migration strategy for configuration changes. I need a strategy which will preserve the user data (registration, user assigned roles, module user settings) on the production site while migrating over configuration & content changes from test. Is there a standard script or strategy for doing something like this. It seems like it would be a fairly standard.

Thanks,
Lee Moore

 
New Post
7/4/2006 1:49 PM
 
Oops, I meant to say from Test to Production not Test to Dev. The above post refers to migrating configuration changes from Test to Production environment.
 
New Post
7/4/2006 2:25 PM
 

Actually fairly standard would be to migrate DEV to TEST to PROD for config and then live to load content. 

Moving user based config (read settings) and content to PROD from TEST depends on the two being replicas with all the users involved preloaded with the same userID's and the installs being duplicates.  Copy PROD back to TEST, modify and then promote, but if and only if nothing at all touches or changes in PROD.  Anything changes and you will have something break (someone adds a tab or module, or entry, etc.... and the ID's no longer match).  If you do this via SQL Server, you'd have to deal with identity inserts which would only work if once again no one has done anything to the live site. 

 A better solution is to document the changes made, or use your test system to train them to replicate things on the live site themselves.  Other than that - it's a lot of table record tweaking to match TABID, MID, portalID, etc. - which I'm prepping to go through myself to a degree. 

But that's just my view - someone may have a tool developed for this if they follow this route enough. 

 
New Post
7/4/2006 2:32 PM
 

Yeah, I meant to say migration from Test to Production.

I'm not to crazy about having the support team reproduce every configuration change step by step in production. These guys tend to be on a slow release cycle with a lot of changes. There are just too many page changes, content changes and things like that and I'm concerned too many errors will be made. One thing I considered was to write a SQL script that you would run on producition which would copy all user data back to Test and then migrate the entire test database to production. Seems a little heavy handed. Seems like a common problem. It would be cool if it's already been solved in an elegant manner.

 
New Post
7/4/2006 7:07 PM
 

Yes this makes sense now!  What you could do is (assumes same web machine and web.config copied over):

  1. get the prod system up and full of users
  2. detach the DB
  3. copy it to a new file
  4. reattach the old one and have it ready to go
  5. attach the copy and configure for test install
  6. once all changes are made - export DB content in teh proper order using integration services or DTS

The one area I have trouble with is the user membership info.  The passwords are hashed and if you go to a different server machine, I believe you'll run into trouble.  You might be able to copy the config keys over - I'm not sure.  I don't see any clean way to do this - but there are 3rd party tools for user management to make this easier.  That's teh part I always have run into walls on. 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Migration from Test -> DevMigration from Test -> Dev


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