# 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 ביוני,‏ 2026,‏ 3:09am 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:** 4

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [8 ביוני,‏ 2026,‏ 10:58pm UTC](https://meta.discourse.org/t/images-after-a-restore-dont-have-s3-bucket-url/404659/4 "2026-06-08T22:58:08Z")

</div>

That sounds like you did configure S3 via site settings, not env variables as Kris suggested. The restore process needs to know about S3. That’s not possible with site settings.

You could also create a backup without uploads on the console of you want: `discourse backup --sql_only`  
Restoring such a backup won’t rewrite upload URLs. So, as long as your new server has access to the same S3 bucket, this works.

---

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