Metadata lost when exporting a space

Problem

When import was done the metadata were lost for all pages in the test Confluence space.

This happened when doing an export of a space (Space Tools -> Content Tools -> Export) to XML and a full export.

The import was done in Admin -> Backup and Restore, and then “Upload and restore a space backup”.

Solution

The export and import of Metadata is described in our documentation: Export and Import Metadata Sets (v 3.0)

The key point is that the export/import of Metadata is not connected to the export/import function that Confluence offers. To get complete information, go through the following steps:

  1. Back up your Confluence instance(s) in case something does not work out.
  2. Export the space metadata.
  3. Export the space.
  4. Import the space on the second instance.
  5. Import the metadata on the second instance.

If you have already deleted the space with the metadata, you need to use a backup of your Confluence instance to get to the information by following the above steps.