Re: pgbackrest question

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pgbackrest question
Date: 2026-07-22 20:21:37
Message-ID: CANzqJaDQdpGpY=VHpmeC8TUdFrS7R+9We5OXb7JAS0Lu+ArvrA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Jul 22, 2026 at 4:13 PM Murthy Nunna <mnunna(at)fnal(dot)gov> wrote:

> Hi,
>
>
>
> I am new to pgbackrest… Using pgbackrest is it possible to run a backup
> that includes WALs that spans the duration of the backup ONLY. I prefer to
> archive WALs outside of pgbackrest for the routine archiving.
>

Why? pgbackrest does a great job managing WALs and data backups, keeping
everything consistent.

More importantly, during restore, pgbackrest assumes that all the WALs will
be where it thinks they are. Thus, while the backups *might* work,
restores would fail.

> And if that is possible, can I use such a backup for PITR by providing the
> required WALs that go beyond the backup duration?
>
>
>
> This is something I can do today using pg_basebackup. I am looking to
> mimic this using pgbackrest.
>

pgbackrest is not pg_basebackup; do not try to make pgbackrest act like
pg_basebackup.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Zechman, Derek S 2026-07-23 02:49:03 RE: pgbackrest question
Previous Message Murthy Nunna 2026-07-22 20:13:08 pgbackrest question