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.94.2) (envelope-from ) id 1s95LH-00HDls-OP for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2024 15:54:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s95LH-0038Fb-Os for pgsql-general@arkaria.postgresql.org; Mon, 20 May 2024 15:54:27 +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.94.2) (envelope-from ) id 1s95LH-0038FT-Dr for pgsql-general@lists.postgresql.org; Mon, 20 May 2024 15:54:27 +0000 Received: from smtp91.iad3b.emailsrvr.com ([146.20.161.91]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s95LE-001DRT-6G for pgsql-general@lists.postgresql.org; Mon, 20 May 2024 15:54:26 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp12.relay.iad3b.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 3124DC0153; Mon, 20 May 2024 11:54:23 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: pg_dump and not MVCC-safe commands From: Christophe Pettus In-Reply-To: Date: Mon, 20 May 2024 08:53:58 -0700 Cc: Tom Lane , Guillaume Lelarge , pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3508051.1716215042@sss.pgh.pa.us> To: PetSerAl X-Mailer: Apple Mail (2.3774.600.62) X-Classification-ID: 729a0abe-7d20-4305-b202-ca37f4c0b6b9-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On May 20, 2024, at 08:49, PetSerAl wrote: > Basically, you need application cooperation to make > consistent live database backup. If it is critical that you have a completely consistent backup as of a = particular point in time, and you are not concerned about restoring to a = different processor architecture, pg_basebackup is a superior solution = to pg_dump.=