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
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
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

100 views 0 6
Read article

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