From: Christopher Pereira <kripper@imatronix.cl>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-general@postgresql.org
Subject: Re: pg_basebackup + incremental base backups
Date: Thu, 21 May 2020 00:50:15 -0400
Message-ID: <367ee69d-9dc7-4de6-f8a1-b460567bcc07@imatronix.cl> (raw)
In-Reply-To: <20191204030907.GB6962@tamriel.snowman.net>
References: <514b14cb-f0b8-157b-2755-d5170ed4d24b@imatronix.cl>
<20191204030907.GB6962@tamriel.snowman.net>
>> In case of big databases, can we do incremental backups with pg_basebackup?
> pg_basebackup doesn't support incremental backups, though there's been
> discussion of adding some kind of support for it, check -hackers if
> you're curious.
>
>> Is there any alternative?
> There's a few different alternatives for PG backup software, some of
> which support incremental backups and restores. I'm personally involved
> with pgbackrest- https://pgbackrest.org though there's other options out
> there also (wal-g, barman, and more).
>
> Thanks,
>
> Stephen
Hi Stephen,
We tried pgbackrest as a solution to rebuild the standby cluster, by
making a differential backup of the primary cluster.
But it seems that pgbackrest is only able to rebuild the standby cluster
by restoring an existing backup from a repository cluster, and not
directly from the primary cluster.
We are afraid that creating a backup on the repository cluster is an
additional step that could be avoided.
Is there some way to rebuild the standby cluster by doing a differential
backup of the primary cluster directly?
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: kripper@imatronix.cl, sfrost@snowman.net
Subject: Re: pg_basebackup + incremental base backups
In-Reply-To: <367ee69d-9dc7-4de6-f8a1-b460567bcc07@imatronix.cl>
References: <514b14cb-f0b8-157b-2755-d5170ed4d24b@imatronix.cl> <20191204030907.GB6962@tamriel.snowman.net> <367ee69d-9dc7-4de6-f8a1-b460567bcc07@imatronix.cl>
* 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