From: Norbert Poellmann <np@ibu.de>
To: Capobianco, Tony <Tony.Capobianco@bcbsma.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Barman and Hot Standby
Date: Wed, 5 Apr 2023 12:37:24 +0200
Message-ID: <ZC1PZH3hF1tUPnr/@mail.ibu.de> (raw)
In-Reply-To: <BLAPR13MB466051A9C39C3EDA6209DC559E939@BLAPR13MB4660.namprd13.prod.outlook.com>
References: <BLAPR13MB466051A9C39C3EDA6209DC559E939@BLAPR13MB4660.namprd13.prod.outlook.com>
On Tue, Apr 04, 2023 at 10:24:20PM +0000, Capobianco, Tony wrote:
Hi,
in my understanding of your question streaming replication
https://www.postgresql.org/docs/15/high-availability.html
with Hot Standby:
https://www.postgresql.org/docs/15/hot-standby.html
is the way to go.
Replication is a quite different task than to archive WAL files,
what you have accomplished already with archive_command
cheers
Norbert Poellmann
--
Norbert Poellmann EDV-Beratung email : np@ibu.de
Severinstrasse 5 telefon: 089 38469995
81541 Muenchen, Germany telefon: 0179 2133436
> I have barman successfully running and performing scheduled backups.
>
> psql -d db -p 1234 -c "show archive_command"
> archive_command
> --------------------------------------------------------
> barman-wal-archive 10.11.12.13 cluster_name %p
>
>
> psql -d db -p 1234 -c "show wal_level"
>
> wal_level
>
> -----------
>
> replica
>
>
> How can I add hot standby functionality to my environment if the archive_command is already defined with barman-wal-archive?
>
> Thanks.
> Tony
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: pgsql-admin@postgresql.org
Cc: np@ibu.de, Tony.Capobianco@bcbsma.com, pgsql-admin@lists.postgresql.org
Subject: Re: Barman and Hot Standby
In-Reply-To: <ZC1PZH3hF1tUPnr/@mail.ibu.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox