# Cloudflare R2 Storage Issues

**URL:** https://meta.discourse.org/t/cloudflare-r2-storage-issues/376465
**Category:** Support
**Created:** [July 29, 2025, 6:29pm UTC](https://meta.discourse.org/t/cloudflare-r2-storage-issues/376465 "2025-07-29T18:29:53Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 29, 2025, 8:31pm UTC](https://meta.discourse.org/t/cloudflare-r2-storage-issues/376465/2 "2025-07-29T20:31:39Z")

</div>

I"m not quite sure, but I recommend that you put your S3 settings in ENV variables as described at [Configure an S3 compatible object storage provider for uploads](https://meta.discourse.org/t/configure-an-s3-compatible-object-storage-provider-for-uploads/148916). You’re likely to have trouble restoring a backup with the settings in the database.

Also, if you do have them in `app.yml` and have the backup on S3, then you need only the yml file to set up a new server and restore the database.

If it’s possible, sharing a topic where you have this problem will give someone trying to see what’s going on a lot more information. If your site is public, then the only thing you need to hide are your keys, which are already hidden.

---

_[View the full topic](https://meta.discourse.org/t/cloudflare-r2-storage-issues/376465)._
