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

Hi,

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

Accepted Answer
0 votes

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.

Cheers,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,295 views 2 7
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