I am testing a restore from jira and it's mysql databases on a new server. Therefore i've made an sqldump and a tarball from the jira /data directory (with attachements and avatars).
On the new system with latest jira and mysql installed and running I imported the sql databases with common mysql commands. After that i copied the /data dir to the new machine and changed the rights for jira user.
After jira restart everything works, projects an Avatars/Attachements are there. BUT: most of the issues are gone (80% in one project and 100% in 3 other projects)! why does this happen? Are all data and settings stored in the database or do i have to backup jira-HOME either?
This seems very unique case you have there and it might take a while to really diagnose whether what is causing this, I would like recommend you to migrate using the following steps to avoid similar problem
It is a new setup, and in my opinion, it is better to perform the upgrade in a problem free method rather than spending too much time on troubleshooting.
Hope this gives an idea to you, cheers :)
I am hoping to get some clarification on this topic, and did not want to start a new thread:
1) I am setting up Jira + Confluence and testing out the production backup, as recommended by many of the Atlassian articles (MySQL dump + copied home dir.).
2) I am a bit confused on when it is recommended to use XML dumps and when not to. It seems the recommendation for production servers is to not use XML, however the Restoring from other Backups page uses language that makes it sound out of the ordinary to use native DB tools to restore Confluence or Jira. Further, posts in this thread seem to suggest XML is the best way to backup/restore.
3) I am testing for disaster recovery, so really I just want to make sure whatever I use works. XML sounds like it eats up memory and CPU, so I would prefer restoring from the DB.
If DB backup tools are preferred for backing up the database, what is the preferred procedure for restoring an instance (scenario: disaster recovery)?
Thanks for the clarification
EDIT: See this thread as well restoring Jira. While the language doesn't make it clear, it appears this is the preferred method on restoring Jira and Confluence.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG