public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ilya Kosmodemiansky <[email protected]>
To: listy <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: upgrade from 13 to 16
Date: Mon, 2 Mar 2026 13:49:00 +0100
Message-ID: <CAG95seVY8rHSnksNig5-81ZX5PyQ3MAagVV9x4=JJy-Bu62iSg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hi listy,
On Mon, Mar 2, 2026 at 1:43 PM listy <[email protected]> wrote:
>
> Is upgrade from ver. 13 to 16 possible?
>
it is. You need to use the latest pg_upgrade binary (from version 16 in
this case)
>
> -> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/
>
>
You must identify the directory where the old cluster binaries reside.
>
It tells you exactly what to do. pg_upgrade requires both the old and new
clusters, data dirs and binaries. So you need to specify aloof -b, -B, -d
and -D
> Please use the -b command-line option or the PGBINOLD environment variable.
> Failure, exiting
>
> Or is a restoration from a backup the only way?
>
> many thanks, L.
>
--
Ilya Kosmodemiansky
CEO, Founder
Data Egret GmbH
Your remote PostgreSQL DBA team
T.: +49 6821 919 3297
[email protected]
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: upgrade from 13 to 16
In-Reply-To: <CAG95seVY8rHSnksNig5-81ZX5PyQ3MAagVV9x4=JJy-Bu62iSg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox