pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rijo Roy <rjo_roy@yahoo.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Barman issue
Date: Fri, 5 Oct 2018 09:50:55 +0000 (UTC)
Message-ID: <175753061.5116038.1538733055387@mail.yahoo.com> (raw)
References: <175753061.5116038.1538733055387.ref@mail.yahoo.com>

Hello Experts,
I have a server rhel 6.9 installed with barman 2.3 which is configured to take backup from Postgresql 10 installed in a remote host and the same is working.
I am trying to do a poc on streaming backup and streaming wal method by making use of the pg_receivewal. I have already created a user with replication privilege the same is added in pg_hba. conf. And I am able to connect remotely using the user created.
But when I am running barman check pg
pg is the name given to the remote dB host. I am getting an error like this
EXCEPTION: LooseVersion instance has no attribute 'version'
Below I am pasting the conf files used:
[pg] 
conninfo
streaming_conninfo
streaming_archiver = on
slot_name = barman
backup_method = postgres 
path_prefix = Postgresql bin path
basebackups_directory
errors_directory
incoming_wals_directory
streaming_wals_directory

-------—-----------------------------------
I have already created the replication slots and started the pg_receivexlog remotely from the batman server. Was are streaming and is coming to the incoming_wals_directory 
Please note that there are 2 more servers configured with barman in this backup hosts which is working fine.. The o my difference theyvhave is that they are configured with backup_method = rsync.

I wanted to make use of pg_receivexlog instead of rsync. Hence this poc..

Please help. 


Thanks,

Roy

Sent from Yahoo Mail on Android

view thread (2+ messages)  latest in thread

Message-ID: <175753061.5116038.1538733055387@mail.yahoo.com>
Permalink:  ../175753061.5116038.1538733055387@mail.yahoo.com/
Also on:    postgresql.org/message-id/175753061.5116038.1538733055387@mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rjo_roy@yahoo.com
  Subject: Re: Barman issue
  In-Reply-To: <175753061.5116038.1538733055387@mail.yahoo.com>
  References: <175753061.5116038.1538733055387.ref@mail.yahoo.com> <175753061.5116038.1538733055387@mail.yahoo.com>

* 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