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 or later.

システム管理者は Confluence が添付ファイルを保存する場所を設定できます。添付ファイルは次のいずれかの場所に保存できます。

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

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

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

On this page:

関連ページ

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

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

既定では、Confluence は添付ファイルを、構成済みの Confluence ホーム フォルダの attachments ディレクトリに保存します。

データベース (非推奨)

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

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

 

添付ファイルの保存場所システム間の移行

添付ファイルは保存場所システム間で移行できます。既存の添付ファイルはすべて新しい添付ファイルの保存場所システムに移動されます。

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

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

To improve logging during the migration, add the package com.atlassian.confluence.pages.persistence.dao with level DEBUG. See Configuring Logging for more information.

移行するには、以下の手順を実行します。

  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/.

  • ラベルなし