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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...HOW TO BACKUP AND RESTORE CHILD PORTALSHOW TO BACKUP AND RESTORE CHILD PORTALS
Previous
 
Next
New Post
3/27/2007 5:26 AM
 

Hi,

I have created a child portal in a server and I want to shift that same child portal to another DNN server.
Can anyone tell me how to do this.

Cheers

shiran

 

 
New Post
3/27/2007 5:14 PM
 

 Hello:

You can log in as host and do so by creating a template file. Below are steps to accomplish this.

1) After logging in go to Host > SQL and run the following SQL:
    SELECT
      {ObjectQualifier_}Portals.PortalName,
      {ObjectQualifier_}PortalAlias.PortalID,
  
      {ObjectQualifier_}PortalAlias.PortalAliasID, 
      {ObjectQualifier_}PortalAlias.HTTPAlias
    FROM
      {ObjectQualifier_}PortalAlias INNER JOIN
      {ObjectQualifier_}Portals ON 
      {ObjectQualifier_}PortalAlias.PortalID = {ObjectQualifier_}Portals.PortalID

*You need to replace {ObjectQualifier_} with the prefix used to create your site, if you did so, otherwise simply perform a find/replace and remove each {ObjectQualifier_} value.  The purpose for doing this is to get the PortalID of the child portal of interest.

2) After making a note of your PortalID return to Host > Portals.  You will either see an Export Template module in DNN v3.x, or a link with an arrow pointing left and a caption of "Export Portal Template" in DNN 4.x .  From the Portal dropdown you will see all parent and child portals on your site.  Select the portal of interest, your child portal, and enter a template name and description. Next, check the "Include Content" checkbox if you want the site content and click the Export Template link.  This will create a new template file with your sites date that you will use when creating your new Parent portal.

3) Although you will not be able to export user information for those who have registerd, which is a nice safety feature, there is a module on  snowcovered.com called "Bulk Import/Export", I believe, that will take care of this and also export your user's pwd (not encrypted either...).  This was a huge help when I was upgrading from v3 to v4.

4) The next step is to create your new Portal.  When adding the new portal you will see a drop down list that will have the name of all templates, including the one you just created.  Use your newly created template and add all other necessary information required to create your portal.  When done you will have a new parent portal with all your data (less the registered user information).

5) When you create your new portal make sure you have the PortalID, if possible. There should be a link, "Customize", next to the "Home Directory:" label on the Portal creation page.  After clicking this link you will be able to entery "Portals/xxx", where xxx is the PortalID you noted.  The DotNetNuke team saw the value in this so that we could specify our portal ids, and in your case, keeping non-relative links to information you just exported in tact.  I've done this both ways and it wasn't a huge ordeal to modify my data so that it correctly pointing to the proper resource, but it's a neat feature that you might want to consider. 

If you have a custom skin you will want to upload this to your new portal and apply it.  You may need to move modules around to fix any layout issues, since a custom skin may have more containers than the default skin.  Again, this is not a big issue.

Side Note: If you have a multi-portal DNN website and are running this on your own PC, WinXP, rather than a shared website, you will need to modify the record(s) in the PortalAlias table so that you can access your child portal.  For example, if the website you setup locally is localhost/DotNetNuke4, then enter this value in the "HTTPAlias" column.  You will need Enterprise Manager or Query analyzer to update this this table (using the Host > SQL module might be a bit dangerous to use for this purpose). When you have completed this you can run your site, i.e. http://localhost/DotNetNuke4, for example, and your child portal will show.  Now you can export your child portal picking up with Step 2 above.

Hope this helps and good luck!

 
New Post
3/28/2007 2:34 AM
 
Hi John, this post is useful, i havent tried yet, but i believe it will work with a good effort.
Thanks in advance.

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...HOW TO BACKUP AND RESTORE CHILD PORTALSHOW TO BACKUP AND RESTORE CHILD PORTALS


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