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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Export/Import a portal to another Instance of DNNExport/Import a portal to another Instance of DNN
Previous
 
Next
New Post
10/11/2007 8:56 AM
 

Hello,

I need to export / import portals one by one (and not entire DNN instance).
Can you tell me if exists a module (or another solution) to Backup / Restore a portal of a DNN instance, because my goal is to duplicate a portal (by exporting / importing it) and transfert it to another instance of DNN (the first and second instance are in the same version 4.5.X). If there is no existing module, is there another solution ? What is the best way to do it ?

Thanks for your help.

 
New Post
10/13/2007 2:44 AM
 

You could use one of the Evotiva backup modules (Native Backup if your DB is on the same server and you do have control over the server, Backup Script in all other situations) to create the full backup. Documentation of Evotiva is quite good, you can follow their manual to restore a DNN installation.

Once you're done, make sure you edit the portal aliases (you might need to do so directly in the DB) and IIS host header settings so there's no confusion as to which url goes to which installation / portal.

Vera

 
New Post
10/17/2007 3:31 AM
 

Thank you, but my goal is to export just one portal and not the entire instance of DNN. I need to duplicate a site (with all the content), this site duplicated is the perfect copy of the first, with just another PortalID and another TabIDs and ModuleIDs.

 
New Post
10/19/2007 4:15 AM
 

Portals cannot currently be singled out into their indiviual own DNN instances. So using the way I've described is the only way to go.

However, I forgot to add the last step you need to take:

Once you're done with the restore, go to Host > Host Settings > Basic Settings > Host Details, and at "Host Portal" select the portal that's now supposed to be the only portal in the new installation and then delete all other portals you don't want to have (in Host > Portals).

Sorry for not making that clear last time!

I have tried the procedure with portals designed as "parent" portals. Not sure if they also work for "child" portals though.

Vera

 
New Post
10/19/2007 10:09 PM
 

Constellation wrote

Thank you, but my goal is to export just one portal and not the entire instance of DNN. I need to duplicate a site (with all the content), this site duplicated is the perfect copy of the first, with just another PortalID and another TabIDs and ModuleIDs.

While I agree that it would be GREAT if someone could come up with something like this, there are a couple of huge obstacles that need to be overcome:

- For exporting, any export script would have to find each record in each table in the underlying database that belongs to a specific portal.

- For importing, due to primary keys (often auto-incremented integers), the import would have to make sure it wasn't duplicating any primary keys that were already in use and then adjust the values to make sure that the data matches up.

Depending on the modules that you've used, you might be able to create a template from the portal, copy the template files to the new instance, then create the site on the new instance using the template.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Export/Import a portal to another Instance of DNNExport/Import a portal to another Instance of DNN


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