# When backup fails, delete the useless backup

**URL:** <https://meta.discourse.org/t/when-backup-fails-delete-the-useless-backup/66953>\
**Category:** Feature\
**Created:** [27 Luglio 2017, 7:33pm UTC](https://meta.discourse.org/t/when-backup-fails-delete-the-useless-backup/66953 "2017-07-27T19:33:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [28 Luglio 2017, 12:24am UTC](https://meta.discourse.org/t/when-backup-fails-delete-the-useless-backup/66953/5 "2017-07-28T00:24:31Z")

</div>

Hmm that is strange.. the entire backup process should take place in a tmp folder before being moved to the backups folder. So if anything blows up, it’ll clean up the tmp folder after. Maybe we’ll not catching the error when gzip blows up some how. I’ll have a 👀

---

_[View the full topic](https://meta.discourse.org/t/when-backup-fails-delete-the-useless-backup/66953)._
