Re: WAL replication and Archive command for pgbackrest on same server conf

2024-08-19 Thread Ruben Morais
hi, you can combine: archive_command = 'pgbackrest --stanza=Demo archive-push %p && cp %p /data/archive/%f ' You need to change your standby replica to consume the wals from pgbackrest if you want instead to use both commands. *RĂºben Morais* *(+351) 965775713*

WAL replication and Archive command for pgbackrest on same server conf

2024-08-19 Thread KK CHN
Hi List , I am trying to configure the pgbackrest on a live server ( RHEL9, EPAS16 and Pgbacrest .2.52) which is having a working WAL archive configuration to a standby server in postgresql.conf as follows 1. archive_mod =on 2. archive_level=replica 3. archive_command = 'cp %p /data/archive