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?
FYI, I did find a solution from someone over on the DotNetNuke forums.
This is the approach I took, and sure enough, it works.
In a nutshell:
UsersandUserProfiletables that no longer have a matching row in theUserPortalstable. DNN does not remove these by default, which is frustrating.You now have a .bak that contains the database and a .zip that contains the files. Send those off to the new hosting company, and you should be all set. Just make sure to update your
web.configto set the connection string properly to point to the new database server at the new hosting company.It’s just that easy. 😉