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 498dfb34-4dd7-4f48-8188-355e1488d7e6@aklaver.com
Whole thread Raw
In response to Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X
List pgsql-general
On 12/2/24 17:23, Ron Johnson wrote:
> Adrian,
> 
> OP is moving to a new VM when migrating to PG 15.  When was the 
> "cross-server" feature added to pg_upgrade?
> 

Moving to a new VM was not the issue, my mistake was thinking the OS 
version was staying the same.

Then:

On old VM:

"take offline full backup (PG_DATA folder alone)  using OS command"

On new VM:
"Restore offline full backup (PG_DATA folder alone) using OS command"

Followed by installing new Postgres version could be dealt with using 
pg_upgrade. Once I was corrected on what was actually going on then 
doing a dump/restore or logical replication became better choices.


-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X
Next
From: Guillaume Lelarge
Date:
Subject: Re: VACUUM FULL, power failure results in unrecoverable space