Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzVFn-0002Aw-7K for pgsql-general@arkaria.postgresql.org; Thu, 28 Feb 2019 23:38: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 1gzVEn-0005hZ-P6 for pgsql-general@arkaria.postgresql.org; Thu, 28 Feb 2019 23:37:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzVEl-0005g1-VM for pgsql-general@lists.postgresql.org; Thu, 28 Feb 2019 23:37:13 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzVEe-00088H-B6 for pgsql-general@postgresql.org; Thu, 28 Feb 2019 23:37:10 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1650322155; Thu, 28 Feb 2019 18:37:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 28 Feb 2019 18:37:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=W mplHY3ZLkGtsWcLisqfY/L1HoGCjy/EklWLa8lfn54=; b=g22GHxCLuIwvonnkN runqau1OvWdZGbLVUStYqdrRvqZBmwbPT5SvLVku0/NKWoOvqgfCxwlH6wBl7nw7 ahQQQyU5K9N1x5p3IGmi/FpHraXRSUW4uXP0LYisBUbgx3s5no9q1ccga62hhHMv JWVKT69olOUCPa/wIZEXT+Ic153+krmXSfm/U0E7Xj35w1h4q/lpQHv5G51LZ0Up UXdYojywqGKYOBzApCgeoWc8Tmyw6siRoA7DihSVvIz4wvMVahRjDz7+ZOoZ0s5K vSouRIvKOWTduKOm1bbUlulO1trSg0CxFWFUJto3sKYTs7DwjxikVf0bXIdSVbO5 GR65g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=WmplHY3ZLkGtsWcLisqfY/L1HoGCjy/EklWLa8lfn 54=; b=kp3K3NxV6iuMg+BGOvlxLN6NrEKsTZBdiBLuTpK1MldCR2vEk8NVFwZD0 eXOHtxd4zau7fxYFEj8N5GF8O1Xl3uwStRaT/N93Qe8BRTkDv2BkPQCUHcW0YmUN Uz3LLYX6WxmWAv9Oa4XioLdPG5yv9ITVr9ZzAj568+A4y82xFUFkeDbkqwNDcxsj mIZDqWg+IXAcxMK0CKyYprnbxLkiMQsj3IEhxmrOEAo76AwCHGHLKzBYzmCZwp+F D33eQs7uyMX0faEFyVHi+PHiyIRQPKm8o4V4CTrMLPQJLXZBBDLMztglA6pDJzCm AxSDrxzREMMYeCQ3DAYD7K9YqydRg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrvdeggddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepvdegrdiiihhppdhgih hthhhusgdrtghomhdpphhgsggrtghkrhgvshhtrdhorhhgnecukfhppeejgedrleegrdej fedrvddvvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id EF117E4650; Thu, 28 Feb 2019 18:37:01 -0500 (EST) Subject: Re: Pgbackrest Comparability issue To: chiru r Cc: Forums postgresql References: <1821b34a-f991-000d-50a6-fc1831600294@aklaver.com> From: Adrian Klaver Message-ID: <55d6b3bb-8b98-3912-50ff-9c08aab5d426@aklaver.com> Date: Thu, 28 Feb 2019 15:37:01 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/28/19 12:28 PM, chiru r wrote: > > > On Thu, Feb 28, 2019 at 1:28 PM Adrian Klaver > wrote: > > On 2/28/19 10:06 AM, chiru r wrote: > > > > We are suing pgBackRest 1.24 version . Hmm, that cut off in the previous post, sorry for the noise. Seems email client issue on my end. > > > > Installing using rpms > > > > yum -y install perl-parent > > yum -y install perl-Time-HiRes > > yum -y install perl-JSON > > yum -y install perl-Digest-SHA > > yum -y install perl-Digest > > yum -y install perl-DBD-Pg > > FYI, please do not top post. Inline posting is the preferred style on > this list. > > In the above I do not see anything that indicates how pgBackRest was > installed or the version number. > > Hi Adrian, > We installed  pgBackRest *1.24* version  initially with PostgreSQL > 9.5.10 version. In the 1.x series the latest is 1.28. The 1.x series has been superseded by 2.x it would seem. > Now we have installed postgresql-10 on server and we are trying to run > backups to PostgreSQL-10 also using pgbackrest. and we are getting > compilation errors. Is this the same server as the one that has the 9.5 instance? > > The below steps we followed. > yum -y install perl-parent > yum -y install perl-Time-HiRes > yum -y install perl-JSON > yum -y install perl-Digest-SHA > yum -y install perl-Digest > yum -y install perl-DBD-Pg > > Downloaded pgbackrest-release-1.24.zip from github and unpacked. > https://github.com/pgbackrest/pgbackrest > > cp -r pgbackrest-release-1.24/lib/pgBackRest  /usr/share/perl5/ > cp -r pgbackrest-release-1.24/bin/pgbackrest  /usr/bin/pgbackrest Have you tried this: https://pgbackrest.org/user-guide.html#build > > echo "Restarting Cluster......." > su -c "cd ${PGHOME}/bin; pg_ctl restart -D ${PGDATA}" -m "$DBUSER" > sleep 20 > > su -c "cd /usr/bin; pgbackrest --stanza=online_backups10 > --log-level-console=info stanza-create" -m "$DBUSER" > su -c "cd /usr/bin; pgbackrest --stanza=online_backups10 > --log-level-console=info check" -m "$DBUSER" > >  Thanks, > chiru > -- Adrian Klaver adrian.klaver@aklaver.com