# 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:** 13

<div class="post-metadata">

**Author:** ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)\
**Post date:** [February 13, 2022, 3:40pm UTC](https://meta.discourse.org/t/upgrade-postgres-with-really-limited-space/201937/13 "2022-02-13T15:40:27Z")

</div>

Nope, never got it upgraded. Deleting the DB and restoring the backup sounds pretty risky. We need the upgrade in-place to work, basically.

We’re running ubuntu 18.04 which hits desupport in 2023 so I figure at that point we’ll have no choice but to migrate to a new host anyway, and plan to bite the bullet then, build-out a new host running 22.04 LTS, and restore from backup.

---

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