Here is a fast way to export the portal configuration and to import it again. This how to can be useful when :
  • you change the version of your server but don't want to loose all your configuration
  • you want to change the configuration on an existing server without loosing all existing data
Follow these steps :

1/ Build and deploy a new portal. Connect to the portal as root

2/ Once connected, open the portlet ECM Admin

3/ In the category "Content Presentation / Drives" edit the drive "System Files" and add the view "admin-view"

4/ Open the File Explorer portlet, and browse the drive "System Files" to the path : /exo:registry/exo:applications/MainPortalData/classic (classic is the name of the portal of which you want to save the configuration, we will use it in this how to)

5/ Switch to admin-view, and click on "Export a node"

6/ Save the file on your hard drive, without compression

Your new configuration is now exported in an XML file, ready to be re imported in another server

7/ Connect by WebDAV to the new server (with user root), and open the URL : http://server:port/rest/jcr/repository/system/exo:registry/exo:applications/MainPortalData, delete the folder "classic"

8/ Connect to the portal as root, and do the steps 2 to 4 again, except in 4, the path is now : /exo:registry/exo:applications/MainPortalData

9/ Switch to admin-view, click on "Import a node" and select the XML file with the format used at export (step 5)

The new configuration is now imported in the portal.


Creator: Philippe Aristote on 2008/07/31 16:12
Copyright (c) 2000-2009. Allright reserved - eXo platform SAS
1.6.13286