Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vx2cJ-00C12m-06 for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 12:43:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vx2cH-000abd-1c for pgsql-admin@arkaria.postgresql.org; Mon, 02 Mar 2026 12:43:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vx2cH-000abV-0X for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 12:43:17 +0000 Received: from [89.231.102.37] (helo=mail.localities.work) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vx2cF-0000000010q-1LTL for pgsql-admin@lists.postgresql.org; Mon, 02 Mar 2026 12:43:17 +0000 Received: from localhost (localhost [127.0.0.1]) by swir.mine.priv (Postfix) with ESMTP id 14369C01408B for ; Mon, 02 Mar 2026 13:43:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=localities.work; h=subject:subject:from:from:content-language:user-agent :mime-version:date:date:message-id:content-type:content-type :received:received; s=dkim20251117; t=1772455391; x=1773319392; bh=U/uQ/uZN+daXrlJOB9uc4FV7n6sGCkX3W6NveiuIIxo=; b=FGzvsOX4x33s gC497ocMVGreOT5B/7pz9yeili9Jjy2IqnSEPheh4MG4PyR0Kuoi7wu0w7sHJtVI Q0akF9LUoRVIJByDrRrAN02D1xR9IApdqGhX+CIq9vP7jG75Rv0yHJSuPQGdi5V2 YMNW27vbNTbp8+gqdgfKtMbuNYr+VKw= X-Virus-Scanned: amavis at mine.priv Received: from swir.mine.priv ([127.0.0.1]) by localhost (swir.mine.priv [127.0.0.1]) (amavis, port 10022) with LMTP id g7KqQJBfPAvT for ; Mon, 2 Mar 2026 13:43:11 +0100 (CET) Received: from [10.3.0.10] (unknown [10.3.0.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by swir.mine.priv (Postfix) with ESMTPSA id A5EC7C014085 for ; Mon, 02 Mar 2026 13:43:11 +0100 (CET) Content-Type: multipart/alternative; boundary="------------udC5iNCUtiGA0jCKuyKGosHh" Message-ID: <7e69fa35-05c7-4cd9-9eba-90fd78b7cd18@localities.work> Date: Mon, 2 Mar 2026 13:43:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-MW, pl, pl-PL To: Pgsql-admin From: listy Subject: upgrade from 13 to 16 X-Host-Lookup-Failed: Reverse DNS lookup failed for 89.231.102.37 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------udC5iNCUtiGA0jCKuyKGosHh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi guys. Is upgrade from ver. 13 to 16 possible? -> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/ You must identify the directory where the old cluster binaries reside. 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. --------------udC5iNCUtiGA0jCKuyKGosHh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi guys.

Is upgrade from ver. 13 to 16 possible?

-> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/

You must identify the directory where the old cluster binaries reside.
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.
--------------udC5iNCUtiGA0jCKuyKGosHh--