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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
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