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

<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:** [August 28, 2021, 1:04pm UTC](https://meta.discourse.org/t/upgrade-postgres-with-really-limited-space/201937/4 "2021-08-28T13:04:30Z")

</div>

Another easy way is to spin up a new server, migrate the data, and turn off the old one. If you must use the old one, do the upgrade on a temporary server, so a fresh install on the original server (which probably needs an OS upgrade) and move it back.

That’s safe, easy, and well documented. Hundreds of people have done that.

---

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