This page last changed on Dec 28, 2006 by david.soul@atlassian.com.

A Jira data anonymiser is also available.

Atlassian may request a copy of entities.xml file from a customer's exported zip file, in order to diagnose database corruption, or find a bug in Confluence.

If your data is confidential, you can run this program over your enitites.xml file, removing all your data, leaving only the structure of the export.

To do this:

  1. Download the two files attached to this page.
  2. Extract the entities.xml file from your zipped backup file to the same directory as the two files.
  3. Use the command prompt to go to the directory where all three files are located
  4. To create cleaned.xml, Linux users should run the command
    java -cp dom4j-1.4-full.jar:exportcleaner.jar com.atlassian.confluence.util.ExportCleaner entities.xml cleaned.xml

    Windows users should use

    java -cp dom4j-1.4-full.jar;exportcleaner.jar com.atlassian.confluence.util.ExportCleaner entities.xml cleaned.xml
  5. Attach cleaned.xml to the support ticket

exportcleaner.jar (application/java-archive)
dom4j-1.4-full.jar (application/java-archive)
Document generated by Confluence on May 01, 2007 19:29