JIRA disaster recovery plan

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.