XML バックアップとスペースのエクスポート/インポートのトラブルシューティング


アトラシアン コミュニティをご利用ください。


Atlassian recommends disabling the XML backup both for performance and reliability. Setting up a test server and the Production Backup Strategy is better done with an SQL dump. Upgrading Confluence is better done without the XML backup.

The one operation for which an XML backup is required is database migration. For this we recommend a commercial database migration tool. Vote for XML Backups and Space Export/Import Troubleshooting to add a more robust strategy for large implementation migrations. Atlassian does not support migrating to a new database.


To track progress or enable debug logging on a space export/import, you can:

  • Go to General Configuration → Logging and Profiling
  • 以下のエントリを追加します。
    • com.atlassian.hibernate.extras.XMLDatabinder
  • Set the logging level to DEBUG
  • Details will be printed to the confluence-home/logs/atlassian-confluence.log

The errors may be caused by a slightly corrupt database. If you're seeing errors such as 'Couldn't backup database data' in your logs, this guide will help you correct the error on your own. In general you'll want to enable SQL logging with parameters, which requires stopping Confluence and modifying log4j.properties, as described in Enabling detailed SQL logging. We strongly recommend that you backup your database and your Confluence home directory beforehand, so that you can restore your site from those if required. If you are unfamiliar with SQL, contact your database administrator for assistance.

Preferable Solution

The alternative backup strategy is a reliable and efficient way to do backups. If you are running into problems with XML backups - whether memory related or because of problems like the one described here - use a native backup tool instead.

To Prevent Issues from Occurring

  1. 組み込みデータベースを使用している場合、これは評価用にバンドルされており、突然停電が発生した場合、完全なトランザクションの整合性を提供しないため、本番環境での使用には外部データベースを推奨していることに注意してください。外部データベースに移行する必要があります。
  2. Upgrade Confluence to the latest version.

Troubleshoot Creating a Backup

Troubleshoot Restoring a Backup

Backup FAQs

Open JIRA Bugs, Improvements and Feature Requests

type 鍵 (キー) 要約 優先度 ステータス


Jira でこれらの課題を表示する

最終更新日: 2020 年 1 月 29 日




Powered by Confluence and Scroll Viewport.