查看文章
 
如何使用JIRA自带工具进行备份
2010-05-25 14:39

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:

  1. Copy webapp/WEB-INF/classes/jira-application.properties to edit-webapp/WEB-INF/classes/jira-application.properties
  2. Make your changes in edit-webapp/WEB-INF/classes/jira-application.properties
  3. In the root directory, run build.bat or build.sh to regenerate the webapp (.war file)
  4. 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

类别:Jira|浏览(204)|评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
     

   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu