削除したスペースと添付ファイルをバックアップから復元する方法

お困りですか?

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

コミュニティに質問


プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

目的

When a Space is deleted it permanently removes the Space and all of its contents, including any Calendars and Questions linked to that Space.

With database and file system backup it is possible to restore the space and its contents. The goal is to restore the backup(DB and Filesystem) to a date before the deletion to a test/temporary environment. With access to this cloned Confluence, you can export your deleted space and import it again in Production.

ソリューション

This article is meant to give a general idea of the steps needed to restore a deleted space from a production backup.


  1. Replicate Confluence into a non-Production environment by following Create a staging environment for upgrading Confluence ;
  2. Restore data from backups (Database, Server, and Attachments directory), 
  3. Make sure to restore the Indexes so Confluence doesn't have to perform a Full Reindex during startup;
  4. We may need to bypass SAML if that's currently configured in Production;
  5. Start Confluence non-Production up and navigate to one of the affected Spaces;
  6. Perform a Full Space Export to XML;
  7. Once done, transfer the Export File from non-Production to Production and place it into <Confluence-Home>/restore directory;
  8. Perform a Space Restore from the Home Directory to avoid timeouts - make sure that the Build Index option is checked or the Space will not be immediately available after the Import.

注意

  • You can't import into an earlier version of Confluence, for better compatibility use the same versions on both, if the backup is from an older version you should use this older version. For example, if your site backup was generated(prod) from Confluence 7.13, your temporary environment should be 7.13, you can import the export into a newer one like 7.19.
  • The original Space Key will be preserved, along with the titles for Pages and Attachments;
  • The restored Spaces, Pages, and Attachments will have different Content IDs as the original content was deleted, and it's not possible to preserve the original values during a Space Migration (Export-Import process);
  • It is possible that links pointing to the affected Spaces will not be fixed automatically, and may need to be re-created;
  • Team Calendar contents aren't included in XML exports.




最終更新日: 2024 年 2 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.