This section describes how to copy a work done on the eXo Platform server, such as creating navigations, node types and templates, to another Platform servers. To copy the whole site, you need to do the following actions:

Step 1. Copy the site content folder with its version history.

1. Go to the Sites Management drive.

2. Open the site node, for example "acme".

3. Click Export Node to export the node with its version history as below:

4. Select Export or Export version history to perform exporting.

5. Click Import Node to open the Import Node form.

6. Select the exported nodes and version history to be imported.

One pop-up message will appear to inform that you have imported successfully as below:

Step 2. Copy navigation nodes of sites.

1. Add a new drive to both target and source servers.

2. Export the navigation node.

3. Import the nodes navigation.

Step 3. Copy the template of node type.

1. Add the System drive to both servers.

2. Open system:/jcr:system/exo:namespaces/{namespace_name}, and export it.

3. Open system:/jcr:system/exo:namespaces/, and import the exported file as described in Step 2.

4. Open system:/jcr:system/jcr:nodetypes/{node_type}, and export it.

5. Open system:/jcr:system/jcr:nodetypes/, and import the exported file as described in Step 4.

Step 4. Copy WCM templates.

1. Open the DMS Administration drive.

2. Open dms-system:/exo:ecm/templates/{node_type}, and export it.

3. Open dms-system:/exo:ecm/templates/, and import the exported file.

Also, for CLV/PCLV templates, you can find all template views defined in the dms-system:/exo:ecm/views path with:

If you want to reuse one of the non-predefined templates above, simply export and import it into the new server at the same place.

Step 5. Copy a Taxonomy tree.

By importing the whole site as described in the Copy the site content folder with its version history section, you will also have the Taxonomy tree imported. The default location where the site's Taxonomy is placed in a sub-folder named category. So, you do not need to export or import them because this step is automatically done. But the Taxonomy tree definition is still not fully imported in the new server. What you now need to do is to add this Taxonomy Tree definition by following those steps:

1. Open the DMS Administration drive in the new server.

2. Go to dms-system:/exo:ecm/exo:taxonomyTrees/definition/.

3. Add a symlink to the Taxonomy Tree Root Node, for example "collaboration:/sites content/live/acme/categories/acme".

The name of symlink is displayed as "acme".

The symlink is generated as below:

In some cases, to see changes, you need to clean cache by disconnecting or restarting the server.

Step 6. Copy metadata templates.

1. Open the DMS Administration drive in the new server.

2. Go to /exo:ecm/metadata/{meta_data_name}.

3. Export and re-import it in the same location in the new server.

Step 7. Copy queries.

1. Open the DMS Administration drive in the new server.

2. Go to "/exo:ecm/queries/{query_name}".

3. Export and re-import it in the same location in the new server.

Step 8. Copy scripts.

1. Open the DMS Administration drive in the new server.

2. Go to "/exo:ecm/scripts/ecm-explorer/".

You will find three folders referring to the three types of groovy scripts in eXo Platform, including:

3 Export your customized script in the same location in the new server.

Step 9. Copy drive configurations.

1. Open the DMS Administration drive in the new server.

2. Go to /exo:ecm/exo:drives/{drive_name}.

3. Export and re-import it in the same location in the new server.

Step 10. Copy gadgets.

1. Open the drive that points into Portal-System Workspace.

2. Go to your gadget "portal-system:/production/app:gadgets/{gadget_namee}".

3. Export and re-import it in the same location in the new server.

Step 11. Restart the server.

After importing the site navigation nodes, the site looks like:

So, you need to restart the server first. The site looks like: