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

This widget could not be displayed.

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

This widget could not be displayed.

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 ?

This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

113 views 2 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