JIRA Database switch query

Hi All,

We have two JIRA instance running like, JIRA A with HSQL and JIAR B with oracle DB1.. both having same data.

Now I want to change the DB for these JIRA instance like, JIRA A has to connect DB1 and JIRA B to new oracle DB ie DB2? Please suggest the best way to do this.

Is it possible to simply change HSQL to Oracle DB1 for JIRA A by editing dbconfig.xml file? Is this will work? or JIRA everytime look for empty DB?

Many thanks in advance :)

3 answers

1 accepted

This widget could not be displayed.
Timothy Chin Community Champion Aug 27, 2013

If both JIRA A and B are the same version, you can just swap the dbconfig.xml and perform a reindex. You might want to make sure that the plugins exist on each of the instance and is the same version.

Timothy Chin Community Champion Aug 27, 2013

So I can go ahead with changing dbconfig.xml file... right?

Sure, if you are afraid, make a backup of your Oracle DB and copy your HSQL database folder.

This widget could not be displayed.

Yes.. both instance are having same version.. only difference is DB. So I can go ahead with changing dbconfig.xml file... right?

Yew Teck En Atlassian Team Aug 27, 2013

It shouldn't be problem if both are using the same version. Timothy has a point there which you need to backup the directories as a precautions. From Atlassian point of view, we would suggest the XML import method instead: https://confluence.atlassian.com/display/JIRA060/Switching+Databases#SwitchingDatabases-differenttype

This widget could not be displayed.

Do I need to restart the JIRA service for this? Or simply editing dbconfig.xml to map second DB will work? please advise.

Yew Teck En Atlassian Team Aug 28, 2013

You would have to shutdown the service, edit the dbconfig.xml and restart to ensure JIRA point to the new database.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 8 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

22 views 0 0
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