From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: postgres large database backup
Date: Wed, 30 Nov 2022 14:01:08 -0500
Message-ID: <9d50f118-a3dd-565a-41bd-d3056b9b90d6@gmail.com> (raw)
In-Reply-To: <CA+ONtZ7CdiJ2X8x_8sPHR+tz-vv7mR1uoDzLia3fzWVZA9k0JQ@mail.gmail.com>
References: <CA+ONtZ7CdiJ2X8x_8sPHR+tz-vv7mR1uoDzLia3fzWVZA9k0JQ@mail.gmail.com>
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.
>
> So please let me know how I should do it in a quicker backup for my
> 10TB database ? Is there any tool to take backups and subsequently
> incremental backups in a faster way and restore it for PITR in a
> faster way when required.
>
> What should be the exact approach for scheduling such backups so that
> it can be restored in a faster way ?
>
Well, that depends on your configuration details. Is your DB located on
a SAN device or JBOD? If it's SAN, than it can do snapshots. All
enterprise backup utilities like NetBackup, TSM, Avamar or Commvault
support snapshots. They all can do full and incremental backups and they
can also do PITR. Your database is an enterprise sized database and
needs an enterprise level tool. If you want a freebie, pgbackrest is the
best thing no money can buy. Pgbackrest supports parallelism, full and
incremental backups.
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
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: gogala.mladen@gmail.com
Subject: Re: postgres large database backup
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>
* 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