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
Joe 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

446 views 6 7
Read article

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