Versions Compared

キー

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

The Confluence home directory contains data that work in concert with the Confluence database to provide the wiki experience. This document outlines the purpose of the various files and directories in the Confluence home directory.
(tick) Tip: Another term for 'Home directory' would be 'data directory'.

Files and directories

confluence.cfg.xml

This file is the most critical file in the Confluence home directory. It contains all of the information necessary for Confluence to start up such as:

  • 製品ライセンス
  • コンテキストパス
  • Database details such as location and connection pool settings
  • 重要なディレクトリへのパス

attachments

このディレクトリには、Confluence に保存されている各添付ファイルのあらゆるバージョンが含まれています。このディレクトリは、Confluence がデータベース内に添付ファイルを保存するよう構成されている場合には使用されません。添付ファイルは、常に Confluence のクラスタ化されたインスタンスでデータベース内に保存されています。

Paths within this directory have the following structure:

No Format
/attachments/PAGE_ID/ATTACHMENT_ID/VERSION

An alternative directory may be specified for attachment storage by setting the attachments.dir property in confluence.cfg.xml

backups

Confluence は日々のバックアップアーカイブ、並びに手動で生成された一切のバックアップをこのディレクトリに配置します。このディレクトリ内のバックアップファイルは、次の形態を取ります:

No Format
daily-backup-YYYY_MM_DD.zip

An alternative directory may be specified for backups by setting the daily.backup.dir property in confluence.cfg.xml.

bundled-plugins

情報

This directory exists for Confluence 2.3 and above

Recent versions of Confluence ship 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

This is where Confluence stores its database when configured to run with the HSQL embedded database and as such contains all Confluence runtime data. Instances configured to run using an external database such as MySQL will not use this directory.

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

情報

This directory exists for Confluence 2.3 and above

As of Confluence 2.3, all Confluence plugins are now 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. As such, 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 2.2 and older

The following files and directories were used by versions of Confluence older than 2.3

config

The config directory is used to store data used by Confluence's bandana data persistence framework. This system is used by Confluence to store the global instance settings and is used by various plugins for their own configuration and data persistence needs. Confluence versions 2.3 and later store these data in the Confluence database and do not use this directory.

The most important file in this directory is the confluence-global.bandana.xml file. This file is used to store all of the settings from the Administration console in Confluence.

plugins

The plugins directory is where Confluence stores all installed plugin JARs. It is possible to install and remove plugins by placing and deleting plugin JARs from this directory.

default-formatting.properties

This properties file contains various formatting information such as the formats for decimal numbers and dates used in the Confluence user interface. These configuration data where relocated to the Confluence database from Confluence 2.3 and onwards.