Backup Service is not Working Properly due to Misconfigured Parameter
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
The automatic backup service is failing, throwing a java.lang.IllegalArgumentException
.
The following appears in the atlassian-jira.log
:
1
2
3
4
2012-09-20 15:25:23,071 QuartzWorker-0 ERROR ServiceRunner BackupService [service.services.export.ExportService] An exception while running the export service "BackupService": Unterminated quote
java.lang.IllegalArgumentException: Unterminated quote
at java.text.SimpleDateFormat.compile(Unknown Source)
at java.text.SimpleDateFormat.initialize(Unknown Source)
Cause
There is an extra quote at the beginning of OPT_DATE_FORMAT
service parameter, for example:

This is similar to Jira Backup Fails with Illegal Pattern Character Error.
Resolution
Remove any extra quotes at the beginning of the OPT_DATE_FORMAT
service parameter as per the steps below:
Log in as a user with the JIRA System Administrators global permission.
Select Administration > System > Advanced > Services (tab) to open the Services page, which lists the current services running on this system.
Edit the existing Backupservice which is already administered.
Update the date format to a valid format, removing the extra quote.
Click 'Update' to save the configuration.
ℹ️ Additionally, as per our Backing Up Data we recommend using native DBMS backup tools instead of the XML backup.
Was this helpful?