官术网_书友最值得收藏!

Migrating JIRA to another environment

Now that we have gone through upgrading a JIRA instance, we will look at how to move a JIRA instance to another server environment. This is a common use case when you need to move an application to a virtualized environment or data warehouse.

Getting ready

The following things need to be checked before you start with this recipe:

  • Make sure you have a valid JIRA license.
  • Check whether your new environment is compatible with JIRA system requirements.
  • Ensure both the old and new JIRA are of the same major or minor version. If you intend to run a newer version of JIRA in the new environment, it is recommended that you upgrade after the migration is successful.

    Tip

    Migrating a system can be very disruptive for users. Make sure you communicate this to your users and allocate enough time for rollbacks.

How to do it…

To migrate an existing JIRA to another server, perform the following steps:

  1. Download and install a brand new JIRA instance in your new environment with an empty database.
  2. Take your current JIRA offline.
  3. Back up your current JIRA database with its native backup utility.
  4. Back up your current JIRA_HOME directory.
  5. Take your new JIRA offline.
  6. Copy over your JIRA_HOME backup and replace the new JIRA_HOME directory with it.
  7. Update the dbconfig.xml file with the new JIRA database details.
  8. Copy your database backup and restore the new JIRA database.
  9. Start up the new JIRA.

    Note

    If you have made modifications to your JIRA configuration files, you can get a complete list of the modified files from JIRA's System Info page.

  10. Log in to JIRA as a JIRA administrator.
  11. Select System Info from the Administration panel.
  12. Note down the files listed in the Modified Files and Removed Files sections.
  13. Review and apply the same changes to the new JIRA instance.

The following screenshot shows how the output will look:

主站蜘蛛池模板: 本溪市| 定西市| 曲水县| 马尔康县| 阿鲁科尔沁旗| 锡林郭勒盟| 广南县| 积石山| 正镶白旗| 常熟市| 莆田市| 漳浦县| 郑州市| 兴安县| 龙川县| 唐海县| 上思县| 沈丘县| 金乡县| 万源市| 杂多县| 米林县| 仁怀市| 安仁县| 吴桥县| 昌黎县| 重庆市| 郎溪县| 博爱县| 新巴尔虎左旗| 闽清县| 日土县| 广丰县| 吕梁市| 松滋市| 麻栗坡县| 丰县| 万载县| 大竹县| 白水县| 乌兰察布市|