Confluence 3.4 has reached end of life
Check out the [latest version] of the documentation
By default, Confluence runs its daily backup at 2.00 AM. You can configure Confluence to perform the backup at a time that is best suited to you or your organisational needs.
Checking the Time on the Confluence server
The time zone is taken from the server on which Confluence is running. To check the time according to the server, do the following:
Go to the Confluence 'Administration Console'. To do this:
- Open the 'Browse' menu and select 'Confluence Admin'. The 'Administrator Access' login screen will be displayed.
- Enter your password and click 'Confirm'. You will be temporarily logged into a secure session to access the 'Administration Console'.
- Click 'System Information' in the left-hand panel and look at the 'System Time'.
Changing the Time of the Daily Backup
Confluence uses Quartz for scheduling periodic jobs. To change the time of your daily backup, you will need to edit the Quartz configuration.
To change the time of your daily backup
- Open the Confluence JAR file in
<CONFLUENCE-INSTALLATION>/WEB-INF/lib/confluence-x.x.x.jar, where x.x.x is your Confluence version number. - Find the Quartz configuration file
schedulingSubsystemContext.xmlin the above JAR and copy the file to your<CONFLUENCE-INSTALLATION>/WEB-INF/classes/directory. - Edit the file in its new location and find the following section of the file:
<bean id="backupTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> <property name="jobDetail"> <ref bean="backupJob"/> </property> <property name="cronExpression"> <value>0 0 2 * * ?</value> </property> </bean> - Update the cron expression as follows:
- The string
'0 0 2 * * ?'sets up a cron trigger for the job to run at the zeroth second of the zeroth minute of the 2nd hour, every day of every month, every day of the week. You can set a new time by editing this string. - Note that the date and time format in this configuration file is in this order:
Second minute hour day - For example: To set the new time to twenty past ten PM, change the string to
'0 20 22 * * ?'. - Another example: If you want to back up only once a week,at midnight on Sundays, you would change the string to
'0 0 0 ? * SUN'.
- The string
- Restart Confluence.
For complete details on the formatting of the cron expression, please see the Quartz CronTrigger tutorial.
Notes
- Atlassian recommends disabling the XML backup, for improved performance and reliability. XML site backups are only necessary for migrating to a new database. If you are setting up a test server or establishing a reliable backup strategy, you should use a SQL dump instead. Upgrading is also better done without the XML backup.
- This page can also help with troubleshooting XML space versions.
RELATED TOPICS
Editing Files within JAR Archives
Content by label
There is no content with the specified labels
Overview
Content Tools
Apps


