Here is a link listing important Confluence files.
The home directory defines the location of the directory where Confluence will store its data, including attachments, indexes and backups. Administrators can set this location by defining a value for the file <MY-INSTALL>/confluence/WEB-INF/classes/confluence-init.properties
. To find what your home directory is currently set to, open this file and check the confluence.home
property. It is unset on new installations.
The information on this page does not apply to Confluence OnDemand.
Windows Configuration
On Windows, this path:
C:\confluence\data
will be written like so:
confluence.home=C:/confluence/data
Note that all backslashes (\) are written as forward slashes (/).
Linux/Solaris Configuration
On any Linux-based system, the property is defined using the normal directory syntax:
confluence.home=/var/confluence/
Symbolic links
If your confluence.home
directory contains a symbolic link, you must define the absolute path.
Fixing the Confluence Configuration
The Confluence configuration file: confluence-cfg.xml
inside the home directory may contain references to the original location of your Confluence home. You will need to edit this file to update these references to also point to the new location. The two properties in this file that need to change are:
daily.backup.dir
if you have not configured your backups to be placed elsewhere alreadyhibernate.connection.url
if you are using the embedded HSQL database.