Migration to Another Server

kanchana wijerathna August 3, 2015

When migrating JIRA to another server with same database instance, is there any option to specify existing database when installing JIRA to the new server without creating new empty database ? The atlassian doc https://confluence.atlassian.com/display/JIRA/Migrating+JIRA+to+Another+Server specify to create new empty database and finally point to existing database.

2 answers

1 vote
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2015

You can simply copy the the filesystem of your current JIRA server to a new box, make sure java_home is set, edit dbconfig.xml to point to your new database, and import the database to the new sql server. Atlassian tends to tell you that you need to reinstall it, but i have never done that myself. Simply replicating the whole environment is possible too.

0 votes
Sateesh Chandra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2015
  • Take a xml backup of the JIRA instance
  • setup the new JIRA with all the data from the filesystem, add-ons of the same version and custom config files or templates you want to keep.
  • Make sure you have the same dbconfig.xml in the JIRA home directory and the database driver file if needed.
  • In the starting steps, you will see an option to import from existing xml and then use the xml backup file which will populate the database accordingly.

 

Suggest an answer

Log in or Sign up to answer