The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Moving a JIRA DB to another Sever

jiraguy
Contributor
October 17, 2012

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

4 votes
Answer accepted
LucasA
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 Champions.
October 17, 2012

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

Deleted user
October 17, 2012

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.

TAGS
AUG Leaders

Atlassian Community Events