Confluence 3.4 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
このドキュメンテーションでは、'Confluence ホームディレクトリ' へのリファレンスがたびたびあります。
Confluence ホームディレクトリとは?
The Confluence Home directory is the folder where Confluence stores its configuration information, search indexes and page attachments. If you are using the embedded HSQLDB database supplied for evaluation purposes, the database files are also stored in this directory.
Tip: Another term for 'Home directory' would be 'data directory'.
Confluence ホームディレクトリの見つけ方
The location of the Confluence Home directory is defined when you install Confluence. This location is stored in a configuration file called confluence-init.properties
, which is located inside the confluence/WEB-INF/classes
directory in your Confluence Installation directory.
When Confluence first starts up, it reads the confluence-init.properties
file to determine where to look for the Home directory.
一度 Confluence が実行されれば、Confluence 管理者 > システム情報 > Confluence 情報 - Confluence ホーム下の管理者コンソールを介してホームディレクトリを見つける事ができます。
Confluence ホームディレクトリのコンテンツ
Confluence ホームディレクトリには、Confluence によって利用される構成データの一部が含まれています。他のデータは、データベース内に保存されています。このセクションは、Confluence ホームディレクトリにおけるファイルおよびディレクトリの目的を概説します。
confluence.cfg.xml
このファイルには、Confluence をスタートアップする際に必要となる、次のようなあらゆる情報が含まれています:
- 製品ライセンス
- コンテキストパス
- ロケーションおよび接続プール設定等のデータベースに関する詳細
- 重要なディレクトリへのパス
attachments
このディレクトリには、Confluence に保存されている各添付ファイルのあらゆるバージョンが含まれています。このディレクトリは、Confluence がデータベース内に添付ファイルを保存するよう構成されている場合には使用されません。添付ファイルは、常に Confluence のクラスタ化されたインスタンスでデータベース内に保存されています。
Paths within this directory have the following structure:
/attachments/PAGE_ID/ATTACHMENT_ID/VERSION
You can specify an alternative directory for attachment storage by setting the attachments.dir
property in confluence.cfg.xml
.
backups
Confluence は日々のバックアップアーカイブ、並びに手動で生成された一切のバックアップをこのディレクトリに配置します。このディレクトリ内のバックアップファイルは、次の形態を取ります:
daily-backup-YYYY_MM_DD.zip
You can specify an alternative directory for backups by setting the daily.backup.dir
property in confluence.cfg.xml
.
bundled-plugins
Confluence ships with a set of bundled plugins. These are plugins written by the Atlassian and the Confluence community that we think provide useful and broadly applicable functionality in Confluence. The {{bundled-plugins)) directory is where Confluence will unpack its bundled plugins when it starts up. This directory is refreshed on every restart, so removing a plugin from this directory will not uninstall the plugin. It will simply be replaced the next time Confluence starts up.
database
ここは、Confluence が HSQL 組み込みデータベースと共に実行するよう構成されている場合に、そのデータベースを保存する場所です。そのような場合、このディレクトリには全ての Confluence ランタイムデータが含まれます。MySQL 等の外部データベースを利用して実行するよう構成されているインストレーションは、このディレクトリを使用しません。
index
ここは、Confluence がよく利用するデータの高速検索向けインデックスを保存する場所です。Confluence インデックスは、コンテンツ検索および最新のアップデートリスト向けアプリケーションに重用されているため、実行中の Confluence インスタンスにとって重要です。ただし、大事なのはこのディレクトリ内のデータが損失したり壊れた場合、Confluence 内から完全な再インデックスを実行する事で復元が可能である点です。これは、Confluence のデータベースに保存されているデータの量によっては、かなりの時間を要する場合があります。
An alternative directory may be specified for the index by setting the lucene.index.dir
property in confluence.cfg.xml
. As this is the most heavily accessed directory in the Confluence home directory you might want to consider hosting it on the fastest disk available. It would also be useful if the disk holding the Confluence index was not heavily used by any other application to reduce access contention.
plugin-cache
All Confluence plugins are stored in the Confluence database. To allow for quicker access to classes contained within the plugin JARs, Confluence will cache these plugins in the plugin-cache
directory. This directory is updated as plugins are installed and uninstalled from the system and is completely repopulated from the database every time Confluence is restarted. Removing plugins from this directory does not uninstall them.
resources
The resources
directory stores any space logos used in your Confluence instance. For each space with a space logo, there is a directory within resources
named after the space's key. That directory contains the space's logo.
temp
The temp
directory is used for various runtime functions such as exporting, importing, file upload and indexing. As the name suggests, and file in this directory is of temporary importance and is only used during runtime. This directory can be safely emptied when Confluence is offline.
An alternative directory may be specified for temporary data by setting the webwork.multipart.saveDir
property in confluence.cfg.xml
.
thumbnails
When Confluence generates a thumbnail of an image (for example when the gallery
macro is used), the resulting thumbnail is stored in this directory for quicker retrieval on subsequent accesses. This directory is essentially a thumbnail cache, and deleting files from this directory simply means the thumbnail will have to be regenerated on the next access.
関連トピック
Confluence Installation Directory
Important Directories and Files
The Embedded HSQLDB Database