Typically, Confluence data is restored from the Administration Console or from the Confluence Setup Wizard.
zip 形式の XML バックアップファイルからの復元に問題が発生しても、次のバックアップがあれば、復元は可能です。
- ホーム ディレクトリのバックアップ
- a backup of your database (if you're using an external database)
この方法による復元手順は、組み込みのデータベースを使用しているか、(Oracle、MS SQL Server、MySQL、Postgres など)外部データベースを使用しているかによって異なります。
Embedded Database
If you are running against the embedded database, the database is located inside the database folder of your Confluence Home Directory. Hence, all you need to do is:
- retrieve the most recent backup of your home directory
- unpack the Confluence distribution and point the
confluence-init.properties file to this directory
External Database
If you're using an external database, you need to:
- prepare backups of your home directory and database (preferably backups that are dated the same). That is, make sure the home directory is accessible on the filesystem and the database available to be connected to.
- if this database happens to have a different name, or is on a different server, you need to modify the jdbc url in the
confluence.cfg.xml file inside the Confluence Home Directory. The value of this property is specified as hibernate.connection.url.
- unpack the Confluence distribution and point the
confluence-init.properties file to the home directory.
Migrate to an External Database
