Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Missing attachments after restore

Francisco November 11, 2021

Hi!

I restore an on-premise Confluence site from my backup. The process finished with no errors, but we found that all the attachments are missing on every page.

The attachments are in the backup.zip next to the entities.xml and reviewing this file, I can see the files missing.

I have already tried copy+paste the full attachments folder from the backup to the confluence-home folder, but it didn't work. I also read this page (Retrieving File Attachments from a Backup | Confluence Data Center and Server 7.14 | Atlassian Documentation) but it didn't work and is not possible to fix the files one by one because the backup is huge.

Any suggestions?

Thanks!

1 answer

0 votes
Brant Schroeder
Community Champion
November 11, 2021

@Francisco Welcome to the Atlassian Community

Is your confluence site really large?  XML restores for large sites can have issues.  Do you still have access to the old confluence site?  If so I would recommend doing a restore this way https://confluence.atlassian.com/doc/restoring-data-from-other-backups-148627.html

If you do not have access to the old instance anymore you should look and see if the attachments directory was even created and if it exists prior to you copying something into the home directory.  If it does you should take a look at this https://confluence.atlassian.com/confkb/how-to-resolve-missing-attachments-in-confluence-201761.html

Francisco November 12, 2021

Hi! Thanks for your answer.

No, we don't have access to the old site. We only have the backup.

Yes, the attachments directory was created during the site installation, but the attachments in the backup.zip weren't copied inside.

I'll try with the second link and let you know if it worked.

Thanks!

Like Brant Schroeder likes this
Francisco November 25, 2021

Hi!

Finally, after 12 hours, the process finished processing but I got this output:

Recovering File # 1079 of 22624The /var/atlassian/application-data/confluence/attachments/ver003/134/65/42565634/36/224/23724036/24871289/10 already exists, can't copy /var/atlassian/applic

How is it possible that this recovery process says that the file already exists and in confluence I see that all files are missing?

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, job interviews, interview tips, career advice, interview preparation, job search, interview experiences, hiring process, atlassian careers, community discussion, interview best practices

Interview Tips & Pet Peeves ✍️

Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.

Share you experiences!
AUG Leaders

Atlassian Community Events