Re: Upgrade from 9.2 to 9.6 without space - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: Upgrade from 9.2 to 9.6 without space
Date
Msg-id 20210324130929.GA17301@momjian.us
Whole thread Raw
In response to Upgrade from 9.2 to 9.6 without space  (Erik Serrano <eserranos@gmail.com>)
List 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@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

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




pgsql-admin by date:

Previous
From: Johannes Truschnigg
Date:
Subject: Re: Odd OS, SAN or related throughput issue affecting large streamer
Next
From: Erik Serrano
Date:
Subject: Upgrade from 9.2 to 9.6 without space