Confluence allows you to export a part of, or the entire contents of, a space into a zipped archive of XML files.

This is useful if you want to make a backup of the space, export the space to another Confluence instance, or use the data from the space in another application. Please note that there are a few restrictions when Restoring a Space, and that huge spaces exported for backup-purposes may benefit from other means of backup. See Production Backup Strategy.

To export to XML, you will need 'Export Space' permission. See Space Permissions.

Site administrators can import a space from a zipped XML archive.

To export to XML:

  1. Go to a page in the space and choose Browse > Advanced.

  2. Click XML Export in the left-hand panel.
    This option will only be visible if you have 'Export Space' permission.
  3. Decide whether you need to customise the export:
    • Select Full Export to produce an XML file containing all the pages in the space, including those that you do not have permission to view.
    • Select Custom Export if you want to export a subset of pages, or to exclude comments from the export.
  4. Select Include Comments if you want to include comments made on the pages you are exporting.
  5. Select the pages you want to export.
    • You have the option to Select All or Deselect All pages.
    • When you select a page, all its child pages will also be selected. Similarly, when you deselect a page all its child pages will also be deselected.
  6. Click Export. This will create a zipped archive of XML files.
  7. When the export process has finished, download and save the zipped archive file as prompted.

Screenshot: Exporting a space



Notes

If you are running Confluence behind Apache HTTP Server and are facing timeout errors, please consider creating the export directly from Tomcat, instead of going through Apache. This will speed up the process and prevent timeouts.

Related Topics
  • No labels