次の場合は、Confluence が毎日自動で実施する XML バックアップが適しています。

  • Confluence を評価している場合
  • データベースの管理に詳しくなく、Confluence インストールが小規模である場合

Confluence インストールが数千ページ以上に達すると、XML バックアップ機能はデータベース独自のバックアップツールに比べて効率が悪くなる可能性があります。組み込みのバックアップ機能は実行に多くのメモリを必要とし、データ復元時の信頼性が低くなります。

関連ページ

(warning) The information on this page does not apply to Confluence OnDemand.

本番システムのバックアップ ソリューションの確立

アトラシアンは、代替のデータベース バックアップ戦略を確立することをお勧めします。

  • Create a backup or dump of your database using tools provided by your database
    (warning) To avoid any data inconsistency and corruption, it is recommended to shut down Confluence before creating a database backup or dump.
  • Confluence ホーム ディレクトリのファイル システム バックアップを作成します。

Once this is in place, disable the daily backups through the scheduled jobs feature via 'Administration Console > Administration > Scheduled Jobs'.

We want to stress that creating these two backups is better than having a Confluence XML backup. It is more robust and far more reliable for large production instances. You will be able to restore your whole site, including all data, attachments and configuration information intact with these two backups. See Restoring Data from other Backups.

バックアップの必要があるのはどのファイルか

Backing up the whole home directory is the safest option, however most files and directories are populated on startup and can be ignored. At minimum, these files/directories must be backed up:

  • attachments – but If you store your attachments in the database then you can ignore the attachments directory
  • confluence.cfg.xml

ディレクトリの残りの部分は、起動時に自動的に読み込まれます。次のディレクトリもバックアップしておくとよいでしょう。

  • config – if you have modified your ehcache.xml file.
  • index – if your site is large or reindexing takes a long time – this will avoid the need for a full reindex when restoring.

復元方法

Take a look a the Migrating Confluence Between Servers document for instructions on restoring a backup using this technique.

その他のプロセス

XML バックアップはサーバーのアップグレードや移動など、Confluence の他のプロセスに使用されます。上で説明したバックアップ戦略もこれらのプロセスで機能します。

  • Our upgrade guide does not require the use of an XML backup (although the earlier Confluence upgrade procedure, and the JIRA upgrade guide, do use XML backups).
  • Our migrate server procedure– used to set up a test server – can use a SQL dump as well.
  • The database migration procedure uses the XML backup for small data sets. Large data sets will require third party database migration tools.

注意: Confluence に組み込まれている XML エキスポートは、大きなデータセットのバックアップや移行には適していません。そのようなデータ移行に役立つサードパーティ製ツールが数多くあります。もし適切なツールを選択するために支援が必要な場合、あるいは移行作業そのものに対して支援が必要な場合、アトラシアンエキスパートの 1 社をご紹介することができます。
  • ラベルなし