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

If your data is confidential, you can run an anonymiser program over your entities.xml file to remove all your data and leaving only the structure of the export.

用途

To run the Content Anonymiser on your backup file:

  1. Download the anonymiser JAR (attached to this page).
  2. zip 化されたバックアップ ファイルから entities.xml ファイルを JAR と同じディレクトリに展開します。
  3. コマンド プロンプトを使用し、3つのファイルがあるディレクトリに移動します。
  4. cleaned.xml を作成するには、以下のコマンドを実行します。
java -jar confluence-export-cleaner-1.1-jar-with-dependencies.jar entities.xml cleaned.xml

動作の仕組み

The Content Anonymiser program replaces all the text content in file entities.xml with 'x' characters. For example, the word "Atlassian" will be transformed to "xxxxxxxxx". The resulting cleaned.xml file is expected to have the same size as the original file.

This release of the Content Anonymiser uses STX, a fast and efficient XML transformation technology. It should not require a lot of memory to run, even for a large backup.

開発

For Atlassian developers: