Re: pgbackrest wiht arcchive mode off /no PITR configuration - Mailing list pgsql-admin

From Tim Gerber
Subject Re: pgbackrest wiht arcchive mode off /no PITR configuration
Date
Msg-id CAPKih1yy+ZTj=PHP72pgu283AP6WEH4FdoaHxrN5+1e7GtWBfw@mail.gmail.com
Whole thread Raw
In response to pgbackrest wiht arcchive mode off /no PITR configuration  ("Ghiurea, Isabella" <Isabella.Ghiurea@nrc-cnrc.gc.ca>)
List 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.Ghiurea@nrc-cnrc.gc.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 ?


pgsql-admin by date:

Previous
From: "Ghiurea, Isabella"
Date:
Subject: pgbackrest wiht arcchive mode off /no PITR configuration
Next
From: Laurenz Albe
Date:
Subject: Re: Anti virus scanning for Postgres database servers