# Restore fails when including S3 uploads

**URL:** <https://meta.discourse.org/t/restore-fails-when-including-s3-uploads/236567>\
**Category:** Self-hosting\
**Tags:** backups, s3\
**Created:** [August 18, 2022, 9:29pm UTC](https://meta.discourse.org/t/restore-fails-when-including-s3-uploads/236567 "2022-08-18T21:29:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Tharuni\_Subramanium](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tharuni_subramanium/32/425521_2.png) [@Tharuni\_Subramanium](https://meta.discourse.org/u/Tharuni_Subramanium)\
**Post date:** [June 20, 2024, 12:05am UTC](https://meta.discourse.org/t/restore-fails-when-including-s3-uploads/236567/4 "2024-06-20T00:05:42Z")

</div>

Yes…We are working on migrating discourse to different environment …which includes migrating the app to different host and also migrating uploads to a different S3 bucket. We were able to setup the app and enable s3 uploads to new bucket. All new posts and uploads work fine. We are trying to restore the backup from old host into the new host and that is when we are getting this error. Have been struggling with this for past 2 weeks. I see the recommendation is to disable s3 uploads , restore and then enable s3 upload.

I am ready to do that, just wanted to make sure if I disable s3 , restore and enable s3, all the restored uploads will be automatically pushed to new S3 or should we run the s3 migration task ?

---

_[View the full topic](https://meta.discourse.org/t/restore-fails-when-including-s3-uploads/236567)._
