# Images after a restore don't have S3 bucket URL

**URL:** https://meta.discourse.org/t/images-after-a-restore-dont-have-s3-bucket-url/404659
**Category:** Support
**Tags:** s3, hosting
**Created:** [6 juni 2026 om 03:09 UTC](https://meta.discourse.org/t/images-after-a-restore-dont-have-s3-bucket-url/404659 "2026-06-06T03:09:00Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Maxine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maxine/32/566484_2.png) [@Maxine](https://meta.discourse.org/u/Maxine)
#### Post date: [6 juni 2026 om 03:09 UTC](https://meta.discourse.org/t/images-after-a-restore-dont-have-s3-bucket-url/404659/1 "2026-06-06T03:09:00Z")

</div>

We’ve been building, testing and intentionally finding gaps in our Discourse forum before we push it entire thing to production. I just migrated my test forum that had S3 uploads enabled from one server to another and upon restoration all of the URLs for anything attached got rewritten to the forum’s URL and not the S3…

Fortunately this is a test forum so we don’t really care too much about the data, however I’d like to:  
A. Still fix this.

B. Find a way to mitigate/prevent this from happening in prod.

It wasn’t just posts but it was all images/media/content/avatars(which is pretty dramatic) that got affected by this…

Any ideas?

---

_[View the full topic](https://meta.discourse.org/t/images-after-a-restore-dont-have-s3-bucket-url/404659)._
