How can I recover a deleted attachment?

What is the recommended procedure for recovering deleted attachments in Confluence given the following:

  • Confluence runs on an external MySQL database
  • Attachments are stored in the filesystem
  • A snapshot of the Confluence server is taken everyday in lieu of using the default XML backup service

If I can figure out the previous location of the file in the attachments folder hierarchy, then I should be able to grab it from a previous snapshot and drop it back in, correct?

2 answers

1 accepted

0 vote

Yes, you should be able to do that. But if you have deleted it, Confluence will not be reffering to it anymore and hence you will have to attach it once again. If you drop it back in the file system, you will need to add the entry in database to create the relation.

Attaching again will be an easier option!

BTW, here is a link to the page in the admin guide that describes how to locate files in the attachments hierarchy.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

264 views 11 10
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