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 ...Export DNN to another siteExport DNN to another site
Previous
 
Next
New Post
3/29/2010 2:34 PM
 

Hi everyone,

I'm currently trying to restore DNN to another site (for lack of a better word) from and existing DNN site.  What I want to do is take an existing DNN install and export it so that all unused modules are ignored.  The current install of DNN has some 3rd party modules that aren't being used and I would like to clean it up.  I realize this can be done by deleting those modules from the admin page, but I am also trying to learn more about DNN in the process.  The previous install is from another developer and this would be my way to sort of take ownership of the project if you know what I mean.  I know about exporting a portal template and then importing it on the new site, but even that causes problems in that paths show up as '/Portals/0/...' instead of 'Portals/0/...' which breaks all the img links etc.  Why this happens I am at a loss.  I also don't want to just backup the entire database and restore it.  I'm going to be backing up only this db tables that are being used.  I realize this is a vague request for help, but I was hoping someone has done this sort of thing before and would have some words of wisdom.  

Currently the portal I am 'exporting' has a portal folder '1' and I am restoring it to a portal with a folder id '0'.  When I create the template file I do a find/replace on 'Portals/1' to replace with 'Portals/0'.  

Are there any caveats I should be aware of in doing such a thing that people know about?  Are there steps to follow?  The process I am trying to follow (so far without luck) is:

- export the portal template and do a string replace as mentioned above

- install the template on the new site and apply the correct skins and containers

- go through a list of all used modules and attempt to create install packages from them.  Some don't work, like ActiveForums as I get a permission error on web.config

- install these packages that I have created from existing modules

- determine what db tables are being used by these modules and backup/restore those tables to the new sites db

- go to each page and install the module that's needed.

Sorry for the length of this help request but I tried to be thorough in my explanation without too much overkill.

 

Thanks for any help people may have.

Gordon

 
New Post
4/15/2010 3:02 PM
 

I have been using DNN since 2003 and I wouldn't attempt to do what you are suggesting.  If you want to better understand DNN upgrade Dotnetnuke, troubleshoot the modules that aren't working, etc.  Just my two cents.

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
4/15/2010 3:15 PM
 

Much appreciated Stuart.  I have noticed this is proving ot be a nightmare.  Things like importing existing Blog data can introduce issues because of embedded links in blog messages.  If these links go to other pages on the site they will no longer work as the newly installed site will not have the same sequence of tab ids.

It's been an good learning process though.

Gord

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Export DNN to another siteExport DNN to another site


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