How migrate H2 database to our own oracle database?

Hello,

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 votes
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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

272 views 0 12
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot