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 1p0WMt-00037U-3Q for pgsql-general@arkaria.postgresql.org; Wed, 30 Nov 2022 23:19:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p0WMr-0007xG-S3 for pgsql-general@arkaria.postgresql.org; Wed, 30 Nov 2022 23:19:53 +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 1p0WMr-0007x7-Hm for pgsql-general@lists.postgresql.org; Wed, 30 Nov 2022 23:19:53 +0000 Received: from eik.handig-eekhoorn.at ([94.130.23.215] helo=hammy.handig-eekhoorn.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0WMh-00057E-67 for pgsql-general@lists.postgresql.org; Wed, 30 Nov 2022 23:19:53 +0000 Received: from hammy.handig-eekhoorn.at (localhost.localdomain [127.0.0.1]) by hammy.handig-eekhoorn.at (Proxmox) with ESMTP id B506320B29 for ; Thu, 1 Dec 2022 00:19:41 +0100 (CET) Received: from margarita.erven.at (80-109-180-71.cable.dynamic.surfer.at [80.109.180.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hammy.handig-eekhoorn.at (Proxmox) with ESMTPS id 94CE120178 for ; Thu, 1 Dec 2022 00:19:41 +0100 (CET) Received: from [192.168.27.171] (unknown [192.168.27.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by margarita.erven.at (Postfix) with ESMTPSA id 2B28C12537 for ; Thu, 1 Dec 2022 00:19:40 +0100 (CET) Message-ID: <592a2c79-9728-e450-ad60-a0df7dd0f214@erven.at> Date: Thu, 1 Dec 2022 00:19:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: postgres large database backup Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <9d50f118-a3dd-565a-41bd-d3056b9b90d6@gmail.com> From: Hannes Erven In-Reply-To: <9d50f118-a3dd-565a-41bd-d3056b9b90d6@gmail.com> 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 Am 30.11.22 um 20:01 schrieb Mladen Gogala: > On 11/30/22 10:40, Atul Kumar wrote: >> Hi, >> >> I have a 10TB database running on postgres 11 version running on >> centos 7 "on premises", I need to schedule the backup of this >> database in a faster way. >> >> The scheduled backup will be used for PITR purposes. >> > Well, that depends on your configuration details. Is your DB located > on a SAN device or JBOD? > You could also use a filesystem that can do atomic snapshots - like ZFS. However, I'm wondering why none of the previous respondents mentioned it? Sure, ZFS may have its own performance implications... but my experience is that it makes "safety snapshots" and "on-demand throw-away testing environments" very convenient to use. Best regards,     -hannes