Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X
Date: 2024-12-03 05:28:36
Message-ID: 498dfb34-4dd7-4f48-8188-355e1488d7e6@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2024-12-03 06:13:20 Re: VACUUM FULL, power failure results in unrecoverable space
Previous Message Ron Johnson 2024-12-03 01:23:59 Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X