You can export part of, or the entire contents of, a Confluence space into a zipped archive of XML files. This is useful if you want to make a backup of the space, import the space into another Confluence site, or use the data from the space in another application.

To export a space or pages to XML, you will need the 'Export Space' permission. See Space Permissions.

Notes:

  • There are some restrictions when importing a space.  See:
  • If you are doing the export for backup purposes, consider another means of backup. See Production Backup Strategy (Not applicable to Confluence OnDemand.)

To export pages or an entire space to XML:

    • If this space has the Default theme applied, go to the space and choose Space tools on the sidebar.
    • If this space has the Documentation theme applied, go to Browse in the top bar and select Space Admin.

    Note: This option appears only if you are a space administrator for the space or you are a super user (a member of the confluence-administrators group).

  1. Choose Content Tools > Export 
    Note: This option will only be visible if you have the 'Export Space' permission.
  2. Select XML then choose Next
  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. Choose 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.

If your space uses the Documentation theme:

  1. Choose Browse > Space Operations
  2. Choose XML Export from the left menu
  3.  Follow the steps above to export the Space.

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.

  • No labels