Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8MlO-0005wd-Lh for pgsql-general@arkaria.postgresql.org; Fri, 05 Oct 2018 09:51:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g8MlK-0000ok-HA for pgsql-general@arkaria.postgresql.org; Fri, 05 Oct 2018 09:51:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8MlJ-0000od-W5 for pgsql-general@lists.postgresql.org; Fri, 05 Oct 2018 09:51:10 +0000 Received: from sonic315-10.consmr.mail.gq1.yahoo.com ([98.137.65.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8MlC-0000Ij-8X for pgsql-general@postgresql.org; Fri, 05 Oct 2018 09:51:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1538733059; bh=zn7WLMWbjqI5/VMlXl3GjU5E2XTmsqAXj7mKUORHoN0=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=rU6zOCiROvQRklNTwGNQW5BeqDV8seFs0ky7hGpGUOdp0yrz5IXqfVxr47LcZjbxit49scXr2arerOG28e+Hb+DjOwuh3UkOitj8astQcPCEPVEyPSJneTA0W+yC8brcUWncx3TFfD+NoiEGnKA5nYr7yjh54XXX3NdUx9jfk5LTDabV+Xf6hOb1qU5TGFl1dy8pWUGanL3iF52Wt9hkGJQj/Pe7z5nsgHircIXA+iImQgOzyXWbwZIwgbk0/rdpWPd8tNUYRif50BtkjyrdC7hlsOIPALifneFdvBTjqWGxGmXet6lokG2n/0NsH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FWMOGZv8naC0YK bNmarxOdLCsCnamdPGKIHqsy5G8KX6KCDvqRz8k9.iFXiHg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Fri, 5 Oct 2018 09:50:59 +0000 Date: Fri, 5 Oct 2018 09:50:55 +0000 (UTC) From: Rijo Roy Reply-To: "rjo_roy@yahoo.com" To: "pgsql-general@postgresql.org" Message-ID: <175753061.5116038.1538733055387@mail.yahoo.com> Subject: Barman issue MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5116037_132170997.1538733055385" References: <175753061.5116038.1538733055387.ref@mail.yahoo.com> X-Mailer: WebService/1.1.12512 YahooMailAndroidMobile YMobile/1.0 (com.yahoo.mobile.client.android.mail/5.31.3; Android/8.0.0; HUAWEIDUK-L09; HWDUK; HUAWEI; DUK-L09; 4.02; 1768x1080;) Content-Length: 5580 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_5116037_132170997.1538733055385 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Experts, I have a server rhel 6.9 installed with barman 2.3 which is configured to t= ake backup from Postgresql 10 installed in a remote host and the same is wo= rking. I am trying to do a poc on streaming backup and streaming wal method by mak= ing use of the pg_receivewal. I have already created a user with replicatio= n privilege the same is added in pg_hba. conf. And I am able to connect rem= otely 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]=C2=A0 conninfo streaming_conninfo streaming_archiver =3D on slot_name =3D barman backup_method =3D postgres=C2=A0 path_prefix =3D Postgresql bin path basebackups_directory errors_directory incoming_wals_directory streaming_wals_directory -------=E2=80=94----------------------------------- 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 in= coming_wals_directory=C2=A0 Please note that there are 2 more servers configured with barman in this ba= ckup hosts which is working fine.. The o my difference theyvhave is that th= ey are configured with backup_method =3D rsync. I wanted to make use of pg_receivexlog instead of rsync. Hence this poc.. Please help.=C2=A0 Thanks, Roy Sent from Yahoo Mail on Android ------=_Part_5116037_132170997.1538733055385 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Experts,

<= span style=3D"font-size: 1em; font-family: sans-serif;" id=3D"yMail_cursorE= lementTracker_1538733044771">I have a server rhel 6.9 installed with barman= 2.3 which is configured to take backup from Postgresql 10 installed in a r= emote host and the same is working.

I am trying to do a poc on streaming backup a= nd 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_co= nninfo
streaming_archiver =3D on<= /span>
slot_name =3D barman
backup_method =3D postgres 

path_prefix =3D Postgresql bin pathbasebackups_directory
errors_directory
incoming_wals_directory
str= eaming_wals_directory

-------=E2=80=94-----------------------------------
I have already created the replication slots an= d started the pg_receivexlog remotely from the batman server. Was are strea= ming 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 differen= ce theyvhave is that they are configured with backup_method =3D rsync.

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

Please help. 

Thanks,

<= span style=3D"font-size: 1em;" id=3D"yMail_cursorElementTracker_15387330319= 39">Roy


------=_Part_5116037_132170997.1538733055385--