Re: pgbackrest wiht arcchive mode off /no PITR configuration

From: Tim Gerber <tggerber(at)gmail(dot)com>
To: "Ghiurea, Isabella" <Isabella(dot)Ghiurea(at)nrc-cnrc(dot)gc(dot)ca>
Cc: PGSQL ADMIN <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pgbackrest wiht arcchive mode off /no PITR configuration
Date: 2025-09-23 14:44:42
Message-ID: CAPKih1yy+ZTj=PHP72pgu283AP6WEH4FdoaHxrN5+1e7GtWBfw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

If you aren't going to have archive_mode on, why not just
use pg_basebackup? Not backing up archivelogs kind of defeats the purpose
of using pgbackrest in my opinion.

Best Regards,
Tim

On Tue, Sep 23, 2025 at 9:34 AM Ghiurea, Isabella <
Isabella(dot)Ghiurea(at)nrc-cnrc(dot)gc(dot)ca> wrote:

> Hi List.
> I have a requirement to use pgabackrest to run ONLY full backups with no
> need need for PITR in PG cluster 17.5
>
> I tried several configuration options seems that archive_mode can not be
> set to "off" for pgbackrest to run, is this correct ?
>
>
> I tried unsuccessfully : archive_mode = on with
> archive_command = '/bin/true'
>
> Second unsuccessfully configuration : archive_mode =on with
> archive_command='cp %p /tmp/pgbackrest-archive/%f'
>
>
> Can you suggest a working solution for my requirements ?
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2025-09-23 15:49:39 Re: Anti virus scanning for Postgres database servers
Previous Message Ghiurea, Isabella 2025-09-23 14:34:00 pgbackrest wiht arcchive mode off /no PITR configuration