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 votes
Accepted answer

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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

68 views 3 2
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