Re: postgres large database backup

From: Hannes Erven <hannes(at)erven(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: postgres large database backup
Date: 2022-11-30 23:19:38
Message-ID: 592a2c79-9728-e450-ad60-a0df7dd0f214@erven.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mladen Gogala 2022-12-01 01:03:33 Re: postgres large database backup
Previous Message Rizwan Shaukat 2022-11-30 22:39:32 posgres question / answer