If you patched your JIRA as my previous post, then you will face the following attention when you use JIRA’s XML backup tool.
You have not named a safe backup directory and hence you are not allowed to make backups for security reasons.
You must edit jira-application.properties and explicitly set 'jira.paths.safe.backup.path=/to/some/safe/path'.
Restart JIRA and then you will be able to make arbitrary backups.
NOTE : If you are using Windows, you will need to use double \ characters, for exampled:\\some\\safe\\path
|
- How to edit the jira-application.properties file.
Making changes to jira-application.properties
The process of changing this file depends on whether you are running JIRA Standalone (JIRA deployed as an 'open' webapp) or JIRA deployed as a packed '.war' file deployed in an app server.
JIRA Standalone
The file is located in atlassian-jira/WEB-INF/classes/jira-application.properties. Edit the file here, and then restart JIRA by runningbin\shutdown.bat and bin\startup.bat (or .sh equivalents).
JIRA as a webapp
If you have downloaded the .WAR/Webapp distribution of JIRA:
- Copy webapp/WEB-INF/classes/jira-application.properties to edit-webapp/WEB-INF/classes/jira-application.properties
- Make your changes in edit-webapp/WEB-INF/classes/jira-application.properties
- In the root directory, run build.bat or build.sh to regenerate the webapp (.war file)
- Redeploy the new .war file in your app server.
- Add the following to the file if you are using Windows, remember to use double \ character:
jira.paths.safe.backup.path=d:\\some\\safe\\path