How migrate H2 database to our own oracle database?


Currently we have JIRA v7.0 with H2 database,we want to use our on database i.e. oracle database.

please provide the steps for this in detail.

1 answer

1 vote
Joseph Pitt Community Champion Mar 30, 2017

You should be able to create a backup using the built in function, change the pointers to the oracle database and import the backup. 

A lot of places will set up a new clean empty JIRA (with the same version) that is working with the new database.

Then you export from the old one and import on the new one, replacing the "empty" data, as Joe said.  That leaves you with the old system running intact if anything goes wrong.

@Joe Pitt and @Nic Brough [Adaptavist] here are my questions-
1) So in your comment Joe, you mentioned that I have to take the back up ...So this is done using "g+g+Backup" and it get stored in the Export folder..Correct?...This will be my step one , isn't it?

2)After the backup is taken,how do I change the pointers to the oracle database  in another server?

3)Once I change the DB, I import the back up folder using "g+g+import"...isn't it? 

  1. Yes
  2. Depends if you are going to use the current install or a clean one.  If it's new and clean, then you don't need to do anything.  If it's the Current system and you're re-importing (bearing in mind this will scrub the local data and start again), then look for <jira-home>/dbconfig.xml - you'll need to edit all of that to point it to Oracle
  3. Yes


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

391 views 6 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