Restore from sql backup

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,

4 answers

0 vote

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?

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?

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...

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 vote
Joe Pitt Community Champion Aug 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.

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

130 views 0 3
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