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 1gzQPf-0003D8-V5 for pgsql-general@arkaria.postgresql.org; Thu, 28 Feb 2019 18:28:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gzQPe-0000Xw-OY for pgsql-general@arkaria.postgresql.org; Thu, 28 Feb 2019 18:28:06 +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 1gzQPd-0000Xp-Bh for pgsql-general@lists.postgresql.org; Thu, 28 Feb 2019 18:28:06 +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 1gzQPZ-000114-US for pgsql-general@postgresql.org; Thu, 28 Feb 2019 18:28:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1B09D2208C; Thu, 28 Feb 2019 13:28:01 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 28 Feb 2019 13:28:01 -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=g sBmrZykd2Wpp5uhDqQ2dJH0IRloFdhFbcNpXD08TRk=; b=aQ5fe7C8QWZ4OJGEE 5g2SGjkXEXSang4EUPLjvPWBSS6lfBoXSr0zGmitb5fhEQ1lFTzqXu825Z5kN18f r8C/wajSVNlwC2kWeEVXZdpa4W8F9uHBxKjjwef0jhC8Dwe5pUO9dmmfymu+rNgu veUcjb5MUWSr+vVbojZDE57IefrOZ0czIXcdOzDoKqeVqAX/ePOIsLq0rub6E0+u Vxa08EIR3g0FEqeOV3G+MorIwwNMh0/GELwCMKEo6cVTkqxcKN4KLV+Vm/51GXcZ KPUvQbKLiIiFsWcDcMp+cYdr8Pn5JAdYH1dswQ65ANykBC19M6wgU98pAPSfzZ9e /Xp8w== 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=gsBmrZykd2Wpp5uhDqQ2dJH0IRloFdhFbcNpXD08T Rk=; b=DxH13jDpr7lb7N6WxlwFGQEi0X2Sr8DP1SYqikWmiwUzyU48cuh16O0H0 4bXT50HaxWmovlXXoA05oWGqj8u+gNNCPSqY/MsPL8qnT6Xf8foQGzw9Awbe/+TA uHWC48OMpO1lNVkgOAjFJVQKpamOEnOuV8s+r84lyQJZr8Nk9yZhnkIT9e5pgH9m eUYAtW/6PDRPzAcK9RpZd6CZhNlwYYMfHB1LOrJLR2YO6rJkWrhtn3zdRja1zjUQ 6RF4qWVf+giUWauESpEcudwiFTvpCLesLGHNFBD3YU8Gu4yoHTdDvd4iQ9ocyL4L 8Lfdie7SBU4Tw5+56E/RceUaYyR2w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrvdefgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvdduvddrudehtddrvd dtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id EA34A10330; Thu, 28 Feb 2019 13:27:59 -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: Date: Thu, 28 Feb 2019 10:27:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 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 10:06 AM, chiru r wrote: > > We are suing pgBackRest 1.24 version . > > 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. > > > On Thu, Feb 28, 2019 at 10:15 AM Adrian Klaver > > wrote: > > On 2/28/19 6:59 AM, chiru r wrote: > > Hi All, > > > > I am using Pgbackrest and have an issue while upgrading our > PostgreSQL > > 9.5.10 to PostgreSQL 10.4 version on same Physical linux server. > > As part of testing I have stop the PostgreSQL 9.5 database on > server and > > PostgreSQL 10 is up and running and trying to configure and > execute the > > backups for postgreSQL 10. > > > > > > I have change the pgbackrest.conf file and trying to create the > stanza, > > it is throwing *compilation errors*. > What version of pgBackRest? > > Was it recently updated? > > How was it installed? > > > > > > *Note :* PostgreSQL 95 backups were configured earlier on same > server > > and they were successful. > > > > *Details : * > > 1. instance > > postgres  9711     1  0 09:06 pts/1    00:00:00 > > /u01/postgres/10/bin/postgres -D /u02/pgdata01/10/data > > postgres  9712  9711  0 09:06 ?        00:00:00 postgres: logger > process > > postgres  9714  9711  0 09:06 ?        00:00:00 postgres: > checkpointer > > process > > postgres  9715  9711  0 09:06 ?        00:00:00 postgres: writer > process > > postgres  9716  9711  0 09:06 ?        00:00:00 postgres: wal > writer process > > postgres  9717  9711  0 09:06 ?        00:00:00 postgres: autovacuum > > launcher process > > postgres  9719  9711  0 09:06 ?        00:00:00 postgres: stats > > collector process > > postgres  9720  9711  0 09:06 ?        00:00:00 postgres: bgworker: > > logical replication launcher > > > > 2. Linux Server > > > > *Redhat 7.2+* > > > > 3.  Pgbackrest conf file > > > > [postgres@ITSUSRALSP03974 install]$ cat /etc/pgbackrest.conf > > [online_backups10] > > db-path=/u02/pgdata01/10/data > > backup-user=postgres > > db-socket-path=/tmp > > > > #[online_backups] > > #db-path=/u02/pgdata01/9.5/data > > #backup-user=postgres > > #db-socket-path=/tmp > > > > [global] > > retention-full=3 > > repo-path=/pgback > > start-fast=y > > stop-auto=y > > > > _*Error *:  what we are getting . _ > > * > > * > > [postgres@server1 install]$ pgbackrest --stanza=online_backups10 > > --log-level-console=info check > > Bareword "CFGCMD_HELP" not allowed while "strict subs" in use at > > /bin/pgbackrest line 39. > > Bareword "CFGCMD_VERSION" not allowed while "strict subs" in use at > > /bin/pgbackrest line 39. > > Bareword "CFGCMD_VERSION" not allowed while "strict subs" in use at > > /bin/pgbackrest line 46. > > Bareword "CFGOPT_TEST" not allowed while "strict subs" in use at > > /bin/pgbackrest line 51. > > Bareword "CFGOPT_TEST" not allowed while "strict subs" in use at > > /bin/pgbackrest line 51. > > Bareword "CFGOPT_TEST" not allowed while "strict subs" in use at > > /bin/pgbackrest line 51. > > Bareword "CFGOPT_TEST_DELAY" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 51. > > Bareword "CFGOPT_TEST_POINT" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 51. > > Bareword "CFGCMD_ARCHIVE_PUSH" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 59. > > Bareword "CFGCMD_ARCHIVE_GET" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 71. > > Bareword "CFGCMD_REMOTE" not allowed while "strict subs" in use at > > /bin/pgbackrest line 83. > > Bareword "CFGOPT_LOG_LEVEL_STDERR" not allowed while "strict > subs" in > > use at /bin/pgbackrest line 86. > > Bareword "CFGOPT_LOG_LEVEL_STDERR" not allowed while "strict > subs" in > > use at /bin/pgbackrest line 87. > > Bareword "CFGOPT_TYPE" not allowed while "strict subs" in use at > > /bin/pgbackrest line 89. > > Bareword "CFGOPTVAL_REMOTE_TYPE_BACKUP" not allowed while "strict > subs" > > in use at /bin/pgbackrest line 89. > > Bareword "CFGOPT_REPO_TYPE" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 89. > > Bareword "CFGOPTVAL_REPO_TYPE_S3" not allowed while "strict subs" > in use > > at /bin/pgbackrest line 89. > > Bareword "CFGOPT_REPO_PATH" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 89. > > Bareword "CFGOPT_REPO_PATH" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 89. > > Bareword "CFGOPT_BUFFER_SIZE" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 100. > > Bareword "CFGOPT_PROTOCOL_TIMEOUT" not allowed while "strict > subs" in > > use at /bin/pgbackrest line 100. > > Bareword "CFGOPT_COMMAND" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGCMD_ARCHIVE_GET" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 103. > > Bareword "CFGOPT_COMMAND" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGCMD_INFO" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGOPT_COMMAND" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGCMD_RESTORE" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGOPT_COMMAND" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGCMD_CHECK" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGOPT_COMMAND" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGCMD_LOCAL" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGOPT_COMMAND" not allowed while "strict subs" in use at > > /bin/pgbackrest line 103. > > Bareword "CFGCMD_LOCAL" not allowed while "strict subs" in use at > > /bin/pgbackrest line 119. > > Bareword "CFGOPT_LOG_LEVEL_STDERR" not allowed while "strict > subs" in > > use at /bin/pgbackrest line 122. > > Bareword "CFGOPT_LOG_LEVEL_STDERR" not allowed while "strict > subs" in > > use at /bin/pgbackrest line 123. > > Bareword "CFGCMD_CHECK" not allowed while "strict subs" in use at > > /bin/pgbackrest line 139. > > Bareword "CFGCMD_START" not allowed while "strict subs" in use at > > /bin/pgbackrest line 151. > > Bareword "CFGCMD_STOP" not allowed while "strict subs" in use at > > /bin/pgbackrest line 154. > > Bareword "CFGOPT_REPO_TYPE" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 166. > > Bareword "CFGOPTVAL_REPO_TYPE_S3" not allowed while "strict subs" > in use > > at /bin/pgbackrest line 166. > > Bareword "CFGOPT_REPO_PATH" not allowed while "strict subs" in > use at > > /bin/pgbackrest line 166. > > Bareword "CFGCMD_INFO" not allowed while "strict subs" in use at > > /bin/pgbackrest line 174. > > Bareword "CFGOPT_LOG_PATH" not allowed while "strict subs" in use at > > /bin/pgbackrest line 194. > > Bareword "CFGOPT_STANZA" not allowed while "strict subs" in use at > > /bin/pgbackrest line 194. > > Bareword "CFGCMD_STANZA_CREATE" not allowed while "strict subs" > in use > > at /bin/pgbackrest line 200. > > Bareword "CFGCMD_STANZA_UPGRADE" not allowed while "strict subs" > in use > > at /bin/pgbackrest line 200. > > Bareword "CFGCMD_RESTORE" not allowed while "strict subs" in use at > > /bin/pgbackrest line 217. > > Bareword "CFGCMD_BACKUP" not allowed while "strict subs" in use at > > /bin/pgbackrest line 246. > > Bareword "CFGCMD_EXPIRE" not allowed while "strict subs" in use at > > /bin/pgbackrest line 254. > > Bareword "CFGCMD_EXPIRE" not allowed while "strict subs" in use at > > /bin/pgbackrest line 260. > > Execution of /bin/pgbackrest aborted due to compilation errors. > > > > Please hep me, if i am missing anything here. > > > > Thanks, > > Chiru > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com