# Disk usage spike during backup, Discourse crashed hard :-(

**URL:** https://meta.discourse.org/t/disk-usage-spike-during-backup-discourse-crashed-hard/157675
**Category:** Self-hosting
**Tags:** server-resources
**Created:** [14 juli 2020 om 06:50 UTC](https://meta.discourse.org/t/disk-usage-spike-during-backup-discourse-crashed-hard/157675 "2020-07-14T06:50:36Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![BryanV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryanv/32/226479_2.png) [@BryanV](https://meta.discourse.org/u/BryanV)
#### Post date: [20 juli 2020 om 22:31 UTC](https://meta.discourse.org/t/disk-usage-spike-during-backup-discourse-crashed-hard/157675/21 "2020-07-20T22:31:02Z")

</div>

> [@pnoeric](#):
>
> Oh wow, that’s a great idea. Never thought of that. So I would apply the CDN to my Amazon bucket, and then tell Discourse to use S3 for all assets? (Like I had before? lol)

We do this for [discourse.bokeh.org](http://discourse.bokeh.org) and it works great. Suggest configuring a better domain name for the CDN than the default AWS gibberish name (e.g. we use `discourse-uploads.bokeh.org`)

---

<div class="post-metadata">

### Author: ![pnoeric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pnoeric/32/177144_2.png) [@pnoeric](https://meta.discourse.org/u/pnoeric)
#### Post date: [23 juli 2020 om 12:51 UTC](https://meta.discourse.org/t/disk-usage-spike-during-backup-discourse-crashed-hard/157675/22 "2020-07-23T12:51:27Z")

</div>

Thanks Bryan (and @Stephen), I’ve got the new bucket set up just as y’all advised. Now I just am working out the right settings. 😉

> [@What are the right settings to use S3 bucket (with non-Amazon URL)?](https://meta.discourse.org/t/what-are-the-right-settings-to-use-s3-bucket-with-non-amazon-url/158612):
>
> So I have an Amazon S3 bucket set up to store my forum assets, and I put it on a custom domain and set up CloudFlare CDN to cache the content. My custom domain is called something like [http://forum-storage.com](http://forum-storage.com), which points to [https://forum-storage.com.s3-us-east-1.amazonaws.com](https://forum-storage.com.s3-us-east-1.amazonaws.com). The S3 bucket itself is named forum-storage.com. This is all working correctly. If I add an image to the main folder of the bucket, I can retrieve it on my custom url, i.e. [http://forum-storage.com/test.jpg](http://forum-storage.com/test.jpg) returns th…

[Previous page](https://meta.discourse.org/t/disk-usage-spike-during-backup-discourse-crashed-hard/157675.md?page=1)
