public inbox for [email protected]  
help / color / mirror / Atom feed
From: KK CHN <[email protected]>
To: pgsql-general <[email protected]>
Subject: WAL replication and Archive command for pgbackrest on same server conf
Date: Mon, 19 Aug 2024 18:40:05 +0530
Message-ID: <CAKgGyB8D_EguU9E73ZiZoquLn6==a_G=MtiErd45Hme9MzZ-3A@mail.gmail.com> (raw)

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/%f'


To do the pgbackrest conf on the same   archive_command   directive (So
both the existing WAL configuration as well as my new pgbackrest option
both will work smoothly.   how to add an entry  in line 3  ??

archive_command = 'pgbackrest --stanza=Demo  archive-push  cp %p
/data/archive/%f '



Please correct me If I am doing wrong in the above line..


Thank you,
Krish


view thread (2+ messages)  latest in thread

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: WAL replication and Archive command for pgbackrest on same server conf
  In-Reply-To: <CAKgGyB8D_EguU9E73ZiZoquLn6==a_G=MtiErd45Hme9MzZ-3A@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox