This page tells you how to import the contents of a Confluence space into another Confluence site, via an XML backup file.
You can export the content of a space, including pages, comments and attachments. The process involves converting the data in the space into XML format. The end product is a zip file that contains XML file(s) and optionally, all the attachments in the space. To transfer this data to another Confluence site, you simply restore this zip file as described below.
Confluence will only allow you to restore a space if there is not already a space by that name on the site. If you already have a space with the identical name, you will need to delete or rename the existing space before restoring the new one.
|
Confluence only supports forward compatibility and backward compatibility for individual space import and export when executed within the same major version of Confluence instances. Screenshot: Major Version Clash on Space Restore You'll need to set up a test server of the same version and import the space, then upgrade your test installation so it's the right major version so that you can perform the export and import successfully. Otherwise, you can try to Change the version of the space export, but please try this on a test instance as well. |
You need to have System Administrator permissions in order to perform this function.
To restore a space,
You can restore data in one of two ways:
|
|
This method does not apply when restoring spaces from a Confluence Team Hosted site to a Standalone (installed) instance. Please refer to the alternative method if migrating from Confluence Team Hosted to Standalone. |
As described in the warning above, you cannot restore a space directly between two major versions. i.e. an individual space backup from 2.2.x cannot be imported into a 2.3.x.
Whilst there is presently no functionality in Confluence that allows you to do so, there is however a manual workaround to this problem.
Always back up your data before attempting this procedure.
Please follow the procedure below:
Another way is to change the version of a space backup.