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 1wJpc7-000L87-22 for pgsql-performance@arkaria.postgresql.org; Mon, 04 May 2026 09:29: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 1wJpc4-006S7X-3A for pgsql-performance@arkaria.postgresql.org; Mon, 04 May 2026 09:29:16 +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 1wJpc4-006S7C-2C for pgsql-performance@lists.postgresql.org; Mon, 04 May 2026 09:29:16 +0000 Received: from 78-107-237-199.static.corbina.ru ([78.107.237.199] helo=mail.mednm.com) by magus.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1wJpc2-00000000QUh-1mmc for pgsql-performance@lists.postgresql.org; Mon, 04 May 2026 09:29:16 +0000 Received: from mail.tzirechnoy.ru (unknown [85.143.106.93]) by mail.mednm.com (Postfix) with ESMTPSA id 4E860100B480 for ; Mon, 4 May 2026 12:29:11 +0300 (MSK) Received: by mail.tzirechnoy.ru (Postfix, from userid 1000) id BF03FA41D2; Mon, 4 May 2026 12:29:11 +0300 (MSK) Date: Mon, 4 May 2026 12:29:11 +0300 From: Ilya Anfimov To: pgsql-performance@lists.postgresql.org Subject: Re: Postgres DB backup is taking too much time Message-ID: Mail-Followup-To: Ilya Anfimov , pgsql-performance@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, May 03, 2026 at 12:42:21PM +0300, masheed ullah wrote: > Hi, > We have a database of 20TB, and it's taking almost 24 hours to complete. > While full restore takes 28 hours. Although we have HA enabled with > primary and multiple replica's. > So we need a solution/tool to reduce the RTO, incase of disk failure/ > Human error for data/tables deletion. > > We are using Barman for backup. First, you'd need engineers to measure -- what's going on. Who is the slowest part? The network (most probable)? The post- gres replication process? The disk that postgres reads? The bar- man itself? Receiver disks/S3 daemon/etc? TLS of one of the above? Measures is the key. Then the solutions may be searched. btw, a modern postgres can definitely supply 1GB/s to barman on a modern system. This is not a much, and probably could be im- proved by special tricks like rsync or manual prefetch or incre- mental copies -- however, it's less than 6 hours estimate and therefore is fine for you. > My question is "Are there any tools like ZDLRA appliances for Oracle" to > reduce the RTO to less than 10 hours". > Best Regards, > Khattak