Moving JIRA to new location on the same server

Jason Pulido January 15, 2015

I want to move my JIRA installation to a new location on the same server.  It will connect to the same (remote) database.

Is this move handled in the same way as moving to a new server or can I just move the structure and modify config files?

Thanks in advance

John - Eugene, OR

3 answers

0 votes
Jason Pulido January 15, 2015

To be more specific, I want to move the entire JIRA installation - including the data directory to a new location on the same server.  Going through the config files I can find, I can't find anything that points to the data directory.

What all files will I need to modify for this move?

 

Thanks.

0 votes
Jason Pulido January 15, 2015

Thanks Nic.  I was hoping that was the answer.  Which config file is the one that sets the jira-home?

 

MattS
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 Leaders.
January 15, 2015
0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 15, 2015

You don't need to make many modifications - as long as you pick up and move the installation directory without making any changes to its structure at all, it will continue to work.

For example "mv /opt/jira3 /data/jira303" will relocate the whole installation.  Only change of config is to change the startup script to look at /data/jira303

The data directory is different - if your jira-home is set to say /home/jira/jiradata and you move it to say /data/jiradata, then you'll need to edit the JIRA file that points to the data directory before you restart it.

Suggest an answer

Log in or Sign up to answer