Migrating JIRA to Another Server

When we are migrating JIRA instance to a new server, do we need to run tthe JIRA setup wizard with empty database ? https://confluence.atlassian.com/display/JIRA/Running+the+Setup+Wizard

i am planing to use the old database which is seperate instance

3 answers

  • 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.

Can't we use the existing database without creating xml backups ?

0 vote

If you plan to reuse the current database, then you

  • setup the new JIRA and make sure it runs while connected to an empty database (no need to put any data in it, just get as far as "admin can log in and create a project")
  • Shut down both JIRAs
  • Backup the database, just in case
  • Copy the home directory of the old JIRA into the home directory of the new one
  • Start the new JIRA
  • It should connect to the old database and use it normally. 
  • I'd recommend a re-index too

There is usually other stuff to worry about, especially if you have customised anything in the core installation like property files, and if you're moving the home directory

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 5 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

22 views 0 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you