From: Hannes Erven <hannes@erven.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: postgres large database backup
Date: Thu, 1 Dec 2022 00:19:38 +0100
Message-ID: <592a2c79-9728-e450-ad60-a0df7dd0f214@erven.at> (raw)
In-Reply-To: <9d50f118-a3dd-565a-41bd-d3056b9b90d6@gmail.com>
References: <CA+ONtZ7CdiJ2X8x_8sPHR+tz-vv7mR1uoDzLia3fzWVZA9k0JQ@mail.gmail.com>
<9d50f118-a3dd-565a-41bd-d3056b9b90d6@gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: hannes@erven.at
Subject: Re: postgres large database backup
In-Reply-To: <592a2c79-9728-e450-ad60-a0df7dd0f214@erven.at>
References: <CA+ONtZ7CdiJ2X8x_8sPHR+tz-vv7mR1uoDzLia3fzWVZA9k0JQ@mail.gmail.com> <9d50f118-a3dd-565a-41bd-d3056b9b90d6@gmail.com> <592a2c79-9728-e450-ad60-a0df7dd0f214@erven.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox