Problem retrieving attachments from Confluence backup


I'm using Confluence version 2.2.1 and had taken a backup of a site(XML format) with attachments. When I tried to restore the site, found that the attachments were missing.

I could see the attachment listed in the Attachments page but when I click on the attachment, it gives me the error below

"""The page you were trying to reach does not exist. You may want to try a search, or browse the site to find the page you were looking for."""

I'm able to see the record entry in "attachments" table with proper data but not able to find the file in confluence- home/attachments directory.

I'm sure it was working before , but now not sure how it turned out this strange. I'm really having bad time to fix this out.

Please help.



1 answer

Hi Preetha,

Not sure what went wrong, but I'd suggest you to check if the attachments exist in the backup file. Inside the zip file, look for the "attachments" folder, and inside it, the attachments are stored in this path pattern - "<space_id>/<page_id>/<attachments_id>/<attachments_version>". (easy way to check this IDs are by querying database)

Also, just check if the size of this attachments folder is relatively comparable with the attachments folder from the instance you generated the backup (in case the attachments were not fully included).

P/s: Confluence 2.2.1 is an old, unsupported version; you might want consider upgrading.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,028 views 51 8
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