Confluence Data Center の以前のバージョンをロールバックまたは復元する方法
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
このページの内容
要約
When something goes wrong with a Confluence upgrade, you may need to roll back your instance to a pre-upgrade state from backups.
Confluence の再インストールとデータベース バックアップの復元
アトラシアンでは、Confluence の以前のバージョンにダウングレードまたはロールバックするためのツールは提供していません。アップグレードが完了したらそれを元に戻すことはできません。
Be sure to have a backup of the Confluence home directory, installation directory, and database from before the upgrade was performed .
Rolling Back From Backups
- Confluence を停止します。
- Restore your Database from backup with the original name of Confluence’s database from before the upgrade
- Restore your Home directory from backup with the original name and original location from before the upgrade
- Restore your Installation directory from backup with the original name and on the original location from before the upgrade
- Confluence を起動します。
Restoring From a Fresh Confluence Install
- Install a new clean Confluence of the version that needs to be restored
- Restore the database backup. This backup needs to be from before the upgrade
<Confluence ホーム> の confluence.cfg.xml ファイルにある次の行を編集して、適切なデータベース スキーマを指すようにします。
<property name="hibernate.connection.password">DATABASEPASSWORD</property> <property name="hibernate.connection.url">jdbc:mysql://localhost/DATABASE_SCHEMA?sessionVariables=storage_engine%3DInnoDB</property> <property name="hibernate.connection.username">DATABASEUSERNAME</property>
- Copy the attachments folder from the upgraded <ConfluenceHome> to the new <ConfluenceHome>
- Confluence を起動します。
- 検索インデックスの再構築