JIRA workflow and Data Backup
The data to be backed up includes:
1. All files in the Jira \ data \ attachments directory
2. On the Jira System Management page, click: the backup data is in XML format;
3. Back up data in MySQL (this is a relatively safe practice, of course, you do not need to back up data; generally, the first two items are enough)
Mysql Data Backup:
First, run CMD and enter the jiraenterprise \ bin directory under the command line. (If you add this directory to the path of the environment variable, you do not need to enter it)
Run the command: mysqldump-H localhost-u root-P Jira> D: \ Jira. SQL (the name of the database indicated by Jira on the left of the <No)
Note: a message may be prompted when the backup data is XML.
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 example D: \ some \ safe \ path
Similar information; this may be because a secure backup is enabled.
Just set the # Jira in the jiraenterprise \ Atlassian-Jira \ WEB-INF \ Classes \ jira-application.properties. paths. safe. backup. remove the # Before Path = c: \ some \ safe \ path. XML can be backed up to the specified directory on the Jira server;
Data Recovery:
1. Replace the files in Jira \ data \ attachments with the backup files;
2. On the Jira System Management page, click Restore data from the XML file;
At this point, the Jira system can be restored. If the MySQL data recovery is abnormal, perform the following steps:
3. Restore Mysql Data;
First, run CMD and go to the jiraenterprise \ bin directory under the command line.
Run the command: mysql-H localhost-u root-P Jira <D: \ Jira. SQL (the name of the database represented by Jira on the left of the <No)
Recovery should be completed since then!