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
Rsync of /usr/jira and Database dump seems to be the only way. It seems re-indexing has to be done manually.
Hi Andre,
Removing the /data/caches directory did not trigger the re-index. I am thinking to running the index URL using CURL.
Cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.