Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msob2-0000MZ-N5 for pgsql-general@arkaria.postgresql.org; Thu, 02 Dec 2021 16:06:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1msob1-0003St-CQ for pgsql-general@arkaria.postgresql.org; Thu, 02 Dec 2021 16:06:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msob0-0003Sj-Of for pgsql-general@lists.postgresql.org; Thu, 02 Dec 2021 16:06:07 +0000 Received: from mx1-es.rentec.com ([216.223.242.6]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msoas-0005sh-Tn for pgsql-general@lists.postgresql.org; Thu, 02 Dec 2021 16:06:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rentec.com; i=@rentec.com; q=dns/txt; s=rtc081020; t=1638461158; x=1669997158; h=message-id:date:mime-version:to:from:subject: content-transfer-encoding; bh=u6hm9FocYuk8VGNudGALetvXiqXbnG+v9dnQYJyTfZA=; b=bTRRfFdHx5OCcWoZGc6QCTvnVwixTZ5qC2eF6nOU6zO4BOTK/6nyKfSv CF4ZQr/qrJDSPzRTjDqY81f+4jZrnj5c4mheeKSguTSLM8xh6LplbbvNM KN5NFJ4gwFm4jQCaKVPhRjR3AogRxIUP0612PysbmgBoH90tymom86RiB IwHcefMkHj4Z7EIq5ZRyxDGPvsVJaBlA9KXuB7ojit8//w7TZpkhMTFwI SmuL3aEKtXfRHxlq3acIWUnKcSOXSjwLd1k0Py1L5PlvlhtSfgbDOYwGD K3TEN5cbccuGc2oNvdFp0uJnu3Apdq5YtUoD93NwnGUuBc8yXj9HpQnZU g==; Message-ID: Date: Thu, 2 Dec 2021 11:05:50 -0500 MIME-Version: 1.0 Content-Language: en-US To: pgsql-general@lists.postgresql.org From: Alan Stange Subject: pg_upgrade question Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello all, We're running a 13.x installation and looking to upgrade to 14.1.  This is all on Linux servers.   We have a main instance running with a number of hot standby replicas configured.   In the past, we have done a dump/restore on a slow evening and then rsynced all the bits around so that the main server and all replicas were identical at the start.   The database has gotten larger now (~1TB) so that is a less desirable option. So I am thinking to do a pg_upgrade --link on each of the main and the hot standby replicas, and then restarting all the processes.   I'm sure this will work fine on the main server, but I have not seen any mention of this working in the expected way on the hot standby replicas.   Can someone confirm that the steps I described here will work in the way I am optimistically expecting it will? I should mention that we are running on ZFS, and will take a snapshot prior to the upgrade, so that if something goes sideways with our use of --link  we can revert back instantly.  Thank you, Alan