Database attachment storage was deprecated in Confluence 5.5. If you currently store attachments in the database you will be able to continue to do so, but you will be unable to switch to storing attachments in the database in Confluence 5.5

System Administrators can configure where Confluence stores attachments. Attachments can be stored in a:

  • ファイルシステム - ローカル側の Confluence ホームディレクトリ
  • データベース - Confluence の設定済みデータベース内 (非推奨)

Confluence の添付ファイル保存場所を設定する手順

  • Choose the cog icon , then choose General Configuration under Confluence Administration.
  • 添付ファイルの保存場所を選択します。 

添付ファイルの保存場所のオプション

ローカルのファイルシステム

By default, Confluence stores attachments in the attachments directory within the configured Confluence home folder. If you are looking to run Confluence Clustered, attachments must be stored in the database.

データベース (非推奨)

Confluence 5.4 以前では、管理者は、Confluence 用に設定したデータベースに添付ファイルを保存するオプションを選択できます。

データベースに添付ファイルを保存することにはいくつかの利点 (バックアップが容易、添付ファイルのファイル名のいくつかの文字に伴う問題の回避) がありますが、大規模なストレージ要件のためデータベースが使用するスペースの量が増加することに留意してください。

 

Migrating between Attachment Storage Systems

You can 'migrate' your attachments from one storage system to another. All existing attachments will be moved over to the new attachment storage system.

移行が発生すると、他のすべてのユーザーは Confluence インスタンスからロックアウトされます。これにより、移行が発生している間、添付ファイルの変更を防止します。アクセスは移行が完了すると同時に可能になります。

データベースからファイルシステムへ添付ファイルを移行すると、移行後に添付ファイルはデータベースから削除されます。ただし、ファイルシステムからデータベースに添付ファイルを移行しても、添付ファイルは移行後もファイルシステムに残ります。

To perform a migration, follow the steps below:

  1. Choose the cog icon , then choose General Configuration under Confluence Administration.
  2. Click 'Attachment Storage' in the left-hand panel. The current configuration will be displayed.
    Screenshot: Attachment storage configuration
  3. 編集」ボタンをクリックして設定を変更します。
  4. Select the storage system you desire.
    Screenshot: Edit attachment storage
  5. 保存」ボタンをクリックして変更を保存します。
  6. A screen will appear, asking you to confirm your changes. Clicking 'Migrate' will take you to a screen that displays the progress of the migration.
    Screenshot: migration warning

The following external website provides further information on migrating attachments from database to file system storage that you might find helpful - http://www.scandio.de/2013/05/confluence-attachment-migration-the-safe-way-2/.

  • ラベルなし