Restore from sql backup

Sandra Knight August 27, 2014

We have accidentally deleted an issue that had lots of comments/time logged to it and would like to get it back by doing a database restore (we are linked to a sql database).

What are the steps required for the restore? Do we just need to stop the JIRA service, do the restore and restart or will we also need to do some re-indexing.

Please advice. Kind regards,
Sandra

4 answers

0 votes
Sandra Knight August 28, 2014

Good suggestion, think we will also disallow deleting in future. Trial instance is worth considering...

0 votes
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 27, 2014

This is one reason we don't allow deleting of issues. An easy option is a special transition that can only be executed by the project lead that sets the resolution to DELETED with a comment explaining why and a status of closed. Deleting issues will eventually come back to bite you. It may take a while, but it will be most inconvienent. One option you do have is to stand up a trial instance, restore from the backup, and dump the info and replicate the issue.

0 votes
Sandra Knight August 27, 2014

Ok, we will just have to make the decision either to live with the lost issue or suffer some downtime... Thanks for your help

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 27, 2014

Most of that is ok, but yes, you will need to do a full re-index afterwards.

You do know you are going to lose all the data entered since the backup was taken too?

Sandra Knight August 27, 2014

Thanks for that, yes we had realised that we will lose what we have done since the backup was taken.

Is the re-index something that is likely to take ages to run ? Is this run from Admin/System menu/Advanced/Re-Indexing?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 27, 2014

Correct. The time indexing takes is proportional to the number of issues you've got and how complex the data attached to them is (lots of custom fields?)

There's no way to guess at how long it will take without testing or an ideal of numbers...

Suggest an answer

Log in or Sign up to answer