# I can't get a good backup - it fails after after\_create\_hook

**URL:** <https://meta.discourse.org/t/i-cant-get-a-good-backup-it-fails-after-after-create-hook/36946>\
**Category:** Bug\
**Created:** [December 19, 2015, 1:32am UTC](https://meta.discourse.org/t/i-cant-get-a-good-backup-it-fails-after-after-create-hook/36946 "2015-12-19T01:32:38Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Xack](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xack/32/116353_2.png) [@Xack](https://meta.discourse.org/u/Xack)\
**Post date:** [April 21, 2016, 4:44pm UTC](https://meta.discourse.org/t/i-cant-get-a-good-backup-it-fails-after-after-create-hook/36946/16 "2016-04-21T16:44:56Z")

</div>

Is the linked post relevant? Just wondering. 🙂

I don’t think Discourse sends the backup as a stream, by that I mean, as normal backup systems do, the backup is first created on the disk, uploaded to S3, and then deleted from the disk(?).

The fact it works when using “without files” is a strong indicator that it’s running out of space during the backup.

You should run `df -h` on the droplet, perhaps on a timer, over and over again when running a backup. You _should_ see the disk become full, then suddenly have free space (I don’t think Discourse keeps a backup that has failed, for obvious reasons).

I hope this helps!

---

_[View the full topic](https://meta.discourse.org/t/i-cant-get-a-good-backup-it-fails-after-after-create-hook/36946)._
