How to Create a JIRA DR server and keep in-sync?


We provisioned a replica JIRA server ( Based on RHEL ) and now planning to create a process to keep production data mirrored/syned with the DR server.

My Question is what data should we be keeping upto date daily basis to keep data in sync

Initially we thought of running cronned rsync on the following directories:

- /usr/jira/attachments

- /usr/jira/caches

- /usr/jira/data/avatars/

But soon realized that we would need to keep the whole copy of /usr/jira directory in sync.

Plus we are taking MySQL (backend DB) dump.

Are we missing anything here, or is there any other preferable technique that you may suggest.

Many thanks,

- Rony

4 answers

1 accepted

0 votes
Accepted answer

Rsync of /usr/jira and Database dump seems to be the only way. It seems re-indexing has to be done manually.

Also one thing to mention is to re-index the whole JIRA instance once you updated the data from Production.

Second question is : is there any way to re-index running a command from commandline ?

I'm actually working on this as well, so we have an up2date Jira instance we can try out updates/upgrades on and also have a way to restore our nightly backup.

Currently I backup the database, the jira program folder and the jira-data folder. I assume when I restore all this and empty the /data/caches folder it wil reindex automatically. If you're not rsyncing the entire data folder I would at least add the data/plugins folder.

Hi Andre,

Removing the /data/caches directory did not trigger the re-index. I am thinking to running the index URL using CURL.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,086 views 4 9
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