# Restore Failing - Check Free Disk Space

**URL:** <https://meta.discourse.org/t/restore-failing-check-free-disk-space/173783>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [December 19, 2020, 4:25am UTC](https://meta.discourse.org/t/restore-failing-check-free-disk-space/173783 "2020-12-19T04:25:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ghan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghan/32/177964_2.png) [@Ghan](https://meta.discourse.org/u/Ghan)\
**Post date:** [December 19, 2020, 4:25am UTC](https://meta.discourse.org/t/restore-failing-check-free-disk-space/173783/1 "2020-12-19T04:25:57Z")

</div>

I’m trying to do a restore on a freshly installed Discourse instance and I’m getting this error on CLI:

```plaintext
ERROR: could not extend file "base/16384/17011337": wrote only 4096 of 8192 bytes at block 15860
HINT: Check free disk space.
EXCEPTION: psql failed: HINT: Check free disk space.

```

The backup file I’m trying to restore is 22 GB (compressed gz) and I have 198 GB free on the server, so I feel like there’s no way this is actually a disk space issue. Any idea why it would be complaining here?

---

_[View the full topic](https://meta.discourse.org/t/restore-failing-check-free-disk-space/173783)._
