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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How to move a single DotNetNuke portal to a new server?How to move a single DotNetNuke portal to a new server?
Previous
 
Next
New Post
11/28/2012 10:57 PM
 

I've got a DotNetNuke system (v 5.6) that's hosting several different portals, and I'd like to move one of them to another hosting provider. What's the easiest way to do this?

Every web site I find that claims to explain how to move a DotNetNuke site essentially says "Copy the entire database over to the new system." That's great if you've only got one portal in the database, but I've got a dozen of them. I only want to move one portal, not all of them.

Exporting the site to a .template is another popular suggestion. This exports the structure of the site (all the tab definitions, for example), but it doesn't include any of the actual HTML content. As such, that's essentially worthless.

There must be a reasonable way to do this short of trying to strip one individual portals data out of every single DNN table. Right?

The FAQ: Moving a DNN installation essentially addresses this by saying "You can't" That's unreasonable.  How could we realistically tell our clients "once I build a web site for you somewhere, you can never move it.  Ever."

Looking for help.  Thanks!

 
New Post
11/29/2012 12:21 AM
Accepted Answer 

Create a 2nd version of that install, then delete all the other portals. Move the install with the one portal. We've done this several times with installs with lots of portals and it works just fine. Yeah there's still some noise left in the db, but it's a quick and effective way of doing things.

*Edit* note that this will give you an install with 1 portal. You can't detach a portal from one install  and reattach it to an existing install (well, you can, but basically you have to export the portal as a template and that isn't 100%)

 
New Post
11/29/2012 1:25 AM
 
The "noise" leftover in the database after such an operation is due to DNN lack of database referential integrity and database design best practice. Would be great to see this improved over time. I've always thought that this exact scenario would be a very popular commercial module if someone was willing to make it. - The "Reportaler"
 
New Post
11/29/2012 4:30 AM
 
if HTML module content is not included in Portal export, please make sure that the Module Definition is registered properly: go to Extensions in Host menu, select HTML module and make sure that the "searchable" option is checked. there needs also be provided a value for business controller.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/29/2012 4:45 AM
 
Rod Weir wrote:
The "noise" leftover in the database after such an operation is due to DNN lack of database referential integrity and database design best practice. Would be great to see this improved over time. I've always thought that this exact scenario would be a very popular commercial module if someone was willing to make it. - The "Reportaler"

I agree, there's lots of scope for developing modules that do clean up and optmisation  tasks for the database and file system. I'd walk over hot coals to get my hands on one that found orphan files in the file system!

However that sort of thing has to take second place to the front end functionality - it has ever been thus - the older shrink-wrapped software suffered from code bloat in version releases.

Would be good to see some simplification though. The level of knowledge a site admin has to have about configuring a DNN install (to get it running well) is getting a little alarming.  DNN's modular format is one of the reasons I love it, but it's easy to fall into the feature bloat trap.

Back to the topic ;-)

When deleting portals from a duplicate install to separate out a particular portal, I first delete any module not in use on the new single portal install, and then write a lot of SQL to explore the tables to find the leftover information in the db so I can then very carefully delete it. The overhead of leaving that 'noise' in there isn't that high, I guess it depends on how tidy you want/need to be. Although you should always go in to the portals you are about to delete and delete all the users first (as otherwise those usernames are 'taken' in the new single portal install despite not having being registered to a portal). I do this with SQL, but it's as easy (just slower) to do from the front end.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How to move a single DotNetNuke portal to a new server?How to move a single DotNetNuke portal to a new server?


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