Moving a JIRA DB to another Sever

Hi there,

We have setup a JIRA DB on the same server as the applicaiton itself and now would like to move the database to a dedicated DB server. Could anyone let me know what process we should follow to complete this so that I can copy the database to the new server and point the application to the correct new location for the database?

We are using CentOS and MySQL.

Cheers!

1 answer

1 accepted

Hi Jiraguy :)

This is a quite simple procedure:

- Stop JIRA;
- Take a full database dump;
- Restore this database on a new server; NOTE: Since you're using MySQL, make sure that you're using the same engine (InnoDB) on both servers;
- Edit the $JIRA_HOME/dbconfig.xml and set new IP address;
- Make sure that the JIRA user is able to login remotely on the new MySQL;
- Start JIRA and check if everything is working now.

Best regards,
Lucas Timm

Just a thought, but when doing a test restore, always disable your mail services until you KNOW you want the system to become live, or you'll end up with potentially live data on your 'test' restore. See https://confluence.atlassian.com/display/JIRA/Restoring+Data for more.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,833 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot