Documentation for JIRA 4.3. Documentation for other versions of JIRA is available too.
JIRA can be configured to automatically create an XML backup of JIRA data on a routine basis.
The XML backup includes all data in the database. However, it does not include your attachments directory, JIRA Home Directory or JIRA Installation Directory, which are on the filesystem.
For production use, it is strongly recommended that you use native database-specific tools instead of the XML backup service. XML backups are not guaranteed to be consistent, as the database may be updated during the backup process. Inconsistent backups are created successfully without any warnings or error messages, but fail during the restore process. Database-native tools offer a much more consistent and reliable means of storing data.
After installing JIRA, step 1 of the Setup Wizard prompts you to enable automated backups. If you chose Use Default Directory, a default backup service will be available, generating XML backups of your JIRA site (as ZIP files) every 12 hours. If you chose Disable Automated Backups or you want to set up a different backup service, follow the steps below.
You can also perform XML backups manually - see Backing up data.
To set up automated backups:
Backup Service
com.atlassian.jira.service.services.export.ExportService
'.com.atlassian.jira.service.services.export.ExportService
' into the 'Class' field.Note
The interval specified in the Backup Service Delay (mins) is the time when the next backup job will run since the last server restart. Backup services cannot be scheduled to run at a specific time of day - please see JRA-1865 for more on this.
Choosing a custom Backup Directory:
If you upgraded JIRA with an XML backup from a JIRA version prior to 4.2 and are editing an existing backup service which used a custom directory, you can choose between using that custom directory (which cannot be edited) or the default directory for this backup service. However, once you switch to using the default directory, you can no longer choose the custom directory option.
(The default directory location is the export
subdirectory of the JIRA home directory.)