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/29/2012 9:24 AM
 
Anna@CD wrote:

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. 


Thanks for the response Anna.  I came up with this same idea after I sent my original post last night, so I'm glad to get confirmation that it will work.

Having to manually delete the users seems crazy.  If those users are no longer attached to a portal, why aren't they automatically deleted?  It's basic data integrity.

While I'm glad it's at least "possible", it's still very disappointing that there's no better way than this "clone and hack" approach.  Migrating a portal should be as easy as clicking a button on the Host screen, generating a big export file, and importing that in to the new setup on a different server.  Anything short of that is a kludge.  Yes, it may be hard to program that due to the modularized nature of DNN, but I'm convinced that it could be done.  DNN is now at version 7 for heaven's sake.  It's time to start focusing on some of the basic plumbing needed to make this system truly world class.

Thanks again to everyone who responded.  Technology short-comings aside, the DNN community remains fantastic.

 
New Post
11/30/2012 9:05 AM
 

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...

 

Good tip on this, BTW.  It helped simplify things.

 
New Post
11/30/2012 9:31 AM
 

The method of duplicating the install and then deleting the portals you no longer need is the best way to do this from my experience it works perfectly and I have done it many times.  I can see it being a hassle if there are a lot of portals to delete afterward.  There is a great third-party module called "Bulk User Manager"  .  I use this module all the time, it is indespensible.

I have also moved portals using the template method.  If you log into your site as HOST and go to HOST>Site Management, then hover the the Manage action button on on the portal list module and choose "Export Site Template" and choose to include content, you might also get decent results.  I have done it this way twice with surprisingly decent results.  If you have modules that do not support export, then this method is not great.

As for being disappointed with the kludgy methods here, it seems to me you are asking quite a lot.  I personally am thrilled I can so easily do this, I recently started to set up a WordPress Multisite and to do the same process there is way more complicted than this.

 
New Post
11/30/2012 9:49 AM
 

Couple more tips.  If you are going to export the site as a template and choose All content, you will find the template stored in the _default portal.  You can take the template file(s) and move it to the same location of a fresh DNN install at another host but make sure you also move the skin files that you need.  You will also need to ensure that all your modules that your site relies on are installed at the new location.

I had a site that was inside of a dnn 4.9.5 installation and I wanted to upgrade just the one site to 6.2.x.  I did not want to do the site duplication method and then upgrade dnn, I wanted a fresh clean install of DNN 6.2.x.  I exported the site as a template and put the template in the new DNN _default folder.  I went to my new DNN, added a portal and chose that site template and the results were much better than I predicted.  I had a few file paths that needed updating and somehow lost a few images but I was able to copy and paste them from the old site to the new one (advantage of running my own server).  This was fairly simple site that used the HTML module for most content but it also used Ventrian Child Links and Simple Gallery and the pages with those modules worked perfectly.

I hope this helps.

 
New Post
4/16/2013 9:56 AM
 
I too have had 'surprisingly good results' with exporting to a template and importing into a fresh install. Around 90% usually, which for a small to med site is manageable. The template option for those who can't directly copy databases etc is a really good 2nd choice. Better than most other CMSs I have to say, as DNN is very robust around creating and deleting portals.

Caveat - the portal id number does change with the template option. Hence why I use cloning. But TBH the find and replace SQL isn't too hard. It's just a bit less reliable than the cloning option as far as knowing 100% of the original site is still there and working.

I *think* (and don't quote me on this) that the user issue is related to the way users are tied to the .NET membership? Hence why in theory it's possible to do multi-portal membership for one account (why this has never been a core feature I will never know!). That's the way it works for host users anyway, I suspect the difference applied to admin and lower level users has actually made the user accounts less manageable from a database perspective.

I second (or is it third) using Bulk User Manager to mass import or delete users. I've done 2000+ in one fell swoop before.
 
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