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 1mgCF5-0000Iu-5I for pgsql-general@arkaria.postgresql.org; Thu, 28 Oct 2021 20:43:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mgCF3-0005HX-QK for pgsql-general@arkaria.postgresql.org; Thu, 28 Oct 2021 20:43:17 +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 1mgCF2-0005HN-B8 for pgsql-general@lists.postgresql.org; Thu, 28 Oct 2021 20:43:17 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mgCEz-0002uu-AL for pgsql-general@lists.postgresql.org; Thu, 28 Oct 2021 20:43:15 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 16A925C00A2; Thu, 28 Oct 2021 16:43:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 28 Oct 2021 16:43:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=h VV5RMBAc5dghLTza3EhEn1jksv+uOlLC2K4ShIgkj0=; b=M4EQLYNSxSbOLkGMI fm8T1dvMo/Cq3ZPIl3TIl0vZMdLbQllMF9SXUoPuzOUatbhz2sj435po79Nix3eD OSIvMkZNZbHpovOWAAVi4E5s16Xsspz+hb5xpqASfRRhkdMg+aHk3puVjPnJOFML me2SSlJRcIqevC42pbZp7Vxe2D2wDSDKXdOG39RcwvMn3n59cUvGiXHBpP5GnUn4 1F/+YYdPCSbpwkf5Uh64BbTPirS2Ae3NwqA5jWrgwvHC4e8qZHEB8edd6v/VJ4Of xJUzS+xVsTWEGzOC74UoQg9bbo5PjueQgo5LuuYtSK1AEcbl6hyjCL+B2v0R99Gj /rxZg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=hVV5RMBAc5dghLTza3EhEn1jksv+uOlLC2K4ShIgk j0=; b=G2bfv+v4bH6cNJHo9RLJMyyk7fHJBYFcogSwMYy0bmA6wUOkx0+O+9DEA //XN7rbZhryutDnOwHOxFrc1gSQplgUvNAHry3Q66A/E8YS4cywSUVwW96xriaVu +d6Vl7xWw0TgbdpZDUEOT0zHWzgfwRXwWJxF+ENcmM71Qlh+lqwYQx+W0gGmbYBO 2XuQMqChm19tZix1Oo5iwV97whsDKIFDKGoCvUfc6yZWxcStpV6ajz7UPNd9IcyZ gDwQuCztA/p2X05ifvZsREAJHWSJOoMndLSRuyvqtdtemURM2hmE0JLSnQFFoZbJ tYk4FJU7efzEgdr9rsWx1PXtDYUTw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdegvddgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepudfgueelge evfffhgeeljeehhfettdegieelgefgheefffefveegjedtueetffdtnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Oct 2021 16:43:11 -0400 (EDT) Message-ID: Date: Thu, 28 Oct 2021 13:43:10 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: Incremental backup Content-Language: en-US To: Ron , pgsql-general@lists.postgresql.org References: <4ad9560c-d6f7-3f74-b577-cf72c93195d0@aklaver.com> <68943e88-7d6b-edb3-90b5-782b9fb5fcbd@gmail.com> <57f54e84-c5f2-84fe-6e65-de5f4ddfdd47@aklaver.com> <995bab59-10e3-eaa9-2b93-afb0474595cd@gmail.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/28/21 12:23, Ron wrote: > On 10/28/21 2:06 PM, Adrian Klaver wrote: >> On 10/28/21 11:48, Ron wrote: >>> On 10/28/21 1:00 PM, Adrian Klaver wrote: >>>> On 10/28/21 10:51, Ron wrote: >>>> >> >> " >> Logical replication is built with an architecture similar to physical >> streaming replication (see Section 27.2.5). It is implemented by >> “walsender” and “apply” processes. The walsender process starts >> logical decoding (described in Chapter 49) of the WAL and loads the > > Scans the (global) WAL data for only the that portion from the relevant > database? > > If so, definitely not the same as having per-database WAL files. > > Just as importantly, replication is not, and never will be, a substitute > for backups. Who says you have to use the mechanism to replicate to another database, why not to a file? Not sure of the plausibility, still it might be interesting to find out? Also isn't a backup just an interrupted form of replication? -- Adrian Klaver adrian.klaver@aklaver.com