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

This widget could not be displayed.

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

This widget could not be displayed.
  • 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.
This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

264 views 1 3
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