Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X
Date
Msg-id 08e1585f-8ab7-445d-980f-48ad53fa1efc@aklaver.com
Whole thread Raw
In response to Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X  (Bharani SV-forum <esteembsv-forum@yahoo.com>)
List pgsql-general
On 12/2/24 14:18, Bharani SV-forum wrote:
> Team
> Pl Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 
> 15.X
> 
> Env = EC2 based Community PostgreSQL Ver 13.16.2
> 
> we will be performing upgrade of our EC2 server too along with new OS.
> 
> Need help in vetting my steps for Postgres DB upgrade from Ver 13.X to 
> ver 15.X
> *ASIS-existing server = EC2 with Community PostgreSQL Ver 13.16.2*
> - ensure to capture all the pre.req meant for ver 15.10 are being met.
> - shutdown db.
> - take offline full backup (PG_DATA folder alone)  using OS command
> 
> *Proposed-new EC2 server (with new Operating System version along 
> Postgres Ver 15.10 Binaries)*
> - install postgres 15.10 binaries
> - ensure to DISABLE auto startup and shutdown of postgres 15.10
> -  Restore offline full backup (PG_DATA folder alone) using OS command
> -  start performing pg_upgrade step to upgrade postgres from ver 13.16.2 

This is not going to work, you need to have Postgres 13 installed also.

It all laid out here:

https://www.postgresql.org/docs/15/pgupgrade.html

In Usage section.

> to 15.10
> 
> please guide me, if i have missed any steps in the abovesaid process
> 
> To start new DB features, planning to rollout out the following 
> feature's alone
> a) TLE extension for password compliance
> b) parallelize vacuum jobs to utilize -j option
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Bharani SV-forum
Date:
Subject: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X
Next
From: Ron Johnson
Date:
Subject: Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X