Re: Upgrade from 9.2 to 9.6 without space

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Erik Serrano <eserranos(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Upgrade from 9.2 to 9.6 without space
Date: 2021-03-24 13:09:29
Message-ID: 20210324130929.GA17301@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Mar 24, 2021 at 10:09:57AM -0300, Erik Serrano wrote:
> Hello good day.
>
> I am writing why I need guidance regarding a version upgrade in Postgresql. I
> have a server with 85% of the disk occupied only in the / var / lib / pgsql /
> data folder and when doing an upgrade it drops because it does not have space
> to create the new / var / lib / pgsql folder /9.6/data in your process.
> So I need to know if there is any procedure to upgrade without making a copy
> since I do not have space for another folder of the same size.
>
> PS: I am upgrading from 9.2 to 9.6

The only option is pg_upgrade in link mode. Also, you might want to
upgrade to a newer version of Postgres than 9.6.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Erik Serrano 2021-03-24 13:09:57 Upgrade from 9.2 to 9.6 without space
Previous Message Johannes Truschnigg 2021-03-23 18:07:20 Re: Odd OS, SAN or related throughput issue affecting large streamer