# Upgrade Postgres with REALLY limited space

**URL:** <https://meta.discourse.org/t/upgrade-postgres-with-really-limited-space/201937>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [August 27, 2021, 5:42pm UTC](https://meta.discourse.org/t/upgrade-postgres-with-really-limited-space/201937 "2021-08-27T17:42:10Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [February 13, 2022, 11:36am UTC](https://meta.discourse.org/t/upgrade-postgres-with-really-limited-space/201937/11 "2022-02-13T11:36:53Z")

</div>

Another way to solve the upgrade with limited space issue is to make a backup, `rm - r` the postgres directory, rebuild, and then restore the backup. I did this on a site last week.

---

_[View the full topic](https://meta.discourse.org/t/upgrade-postgres-with-really-limited-space/201937)._
