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

This widget could not be displayed.

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!

This widget could not be displayed.

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 Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

626 views 8 6
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