reinstalling jira with backup


I backed up our jira DB as well as the data folder as per the documentation. I have now reinstalled the same version of jira and am wondering how to proceed to restore this data.

Should I go through the whole jira wizard and once I'm done, dump my DB file into the database + the data folder. Or is there another way?


2 answers

1 accepted

0 votes
Accepted answer

What is it that you are attemtping to accomplish? Are you building out a second JIRA server from this back-up? Are you wiping-out your existing server and going to re-install?

In either case, the process I follow for creating (or refreshing) a JIRA or Confluene server is to back-up three things:

  1. The Database
  2. The Installation directory
  3. The Home directory (this is also known as the data directory)

You can then take these three items and move them wherever you like. For example, if you are building out a new secondary JIRA server:

  1. Ensure you have DNS set-up correctly to resolve to your second server
  2. It would be best if you had at least a bare base install of the version of JIRA you want to use on this system - it's not required but it is helpful since it sets-up the JIRA accounts for you and start-up scripts
  3. Create a new database with a user account that can access it from your new JIRA server
  4. Restore your DB dump to the new database
  5. Unpack the installation and home directories - this will overwrite your base install
  6. Modify the dbconfig.xml file in the JIRA home directory to point to your new database using your new user account information

Once you've completed these steps, you will have "cloned" your JIRA instance. You will probably want to adjust your Base URL path so it is not the same as your first JIRA server - you can do this before hand using command line tools (depending on what DB you have) or in the web GUI. If you are simply wiping-out your first server and rebuilding than this is not necessary.

Start JIRA and you should be good to go. This is a very rough procedure but should get you going in the right direction.

Hope this helps.


In the past when I have do this, I have:

1. Restored the DB dump to the new one

2. Pointed newly installed JIRA to DB

3. Restored attachment folder (normally found in your data folder unless you have moved it).

4. Installed the plugin one by one in the new server (either from marketplace or installing the jars).

That is however the most conservative way to do it (company was very conservative in its approach).

I think you can actually just take the newly installed JIRA server, point it to the new DB and your JIRA_HOME backup.


1. Restore db dump to a new db

2. Point newly installed JIRA to the new db

3. Point newly installed JIRA to the data folder (I would not point it to the original data folder, I'd make a copy and point new JIRA to copy of data folder).

4. Start JIRA.

You might have to recreat your app links, but this should work.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,531 views 15 21
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