Confluence backs up your data on a daily basis into a zipped XML file. By default, the backup is performed at 2.00 a.m. and the backup files are stored in the backups folder under the Confluence Home directory. The default naming convention for the backup files is 'daily-backup-yyyy_MM_dd'. Confluence can write backups to both local and mapped network drives.

The time zone is taken from the server on which Confluence is running. To check the time according to the server, do the following:

  1. Click 'System Information' in the left-hand panel and look at the 'System Time'. You can change the time of the daily backup.

Consider using the production backup strategy if your Confluence site is large or you are encountering problems with your automated backup.

From the Administration Console, you can:

(info) You need to have System Administrator permissions in order to configure these options.

Configuring the Daily Backups via the Administration Console

To configure your daily backups,

  1. Click 'Daily Backup Admin' in the 'Configuration' section.
  2. Click the 'Edit' button on the 'Daily Backup Administration' screen.
  3. Now you can do the following:
    • To disable backups — Select 'Disable'.
    • To specify an alternate path to store backup files — Select 'Custom' and then enter the path. The directory must be on either a local drive or a mounted network drive.
      (info) Notes:
      • By default, this option is not available. See below for information about enabling the configuration option.
      • Please ensure the mapped drive is on a physical server, not a Virtual Machine image.
    • To exclude attachments from backups — Select 'Off' beside 'Backup Attachments'. By default, this is 'On'.
    • To use a different naming prefix format — Enter the new format in the 'Backup File Prefix' input field.
    • To use a different date format — Enter the date format in the 'Backup File Date Pattern' input field using the syntax described in this document from Sun.
  4. 'Save' your changes.

Below is an example of daily backup being disabled.

Backup Path Configuration Option is Unavailable by Default

In Confluence 3.2.0 and earlier, it was possible to specify a backup path via the Confluence Administration Console. For security reasons this feature was turned off by default in Confluence 3.2.1 and later. Administrators can restore this functionality by updating the relevant configuration property as described below. However, we recommend that you turn the feature off in production environments.

To enable the configuration option,

  1. Edit the confluence.cfg.xml file found in the Confluence Home directory.
  2. Set the value of property admin.ui.allow.daily.backup.custom.location to 'true' (without the quotation marks).
  3. Restart Confluence.

If the value of the above configuration property is 'true', it will be possible to specify a backup path via the Confluence Administration Console. If the value of this property is 'false' or the property is not present in the configuration file, the backup path is not configurable. By default in Confluence 3.2.1 and later, the value is 'false'.

RELATED TOPICS