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 1hQumG-0007FU-VH for pgsql-general@arkaria.postgresql.org; Wed, 15 May 2019 14:21:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hQumF-0001aB-Iq for pgsql-general@arkaria.postgresql.org; Wed, 15 May 2019 14:21:03 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQumD-0001Zx-Rr for pgsql-general@lists.postgresql.org; Wed, 15 May 2019 14:21:03 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQumA-0006Jj-Mo for pgsql-general@lists.postgresql.org; Wed, 15 May 2019 14:21:01 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D47442477A; Wed, 15 May 2019 10:20:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 15 May 2019 10:20:56 -0400 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=I JkC2g5376WEjFGsVZm0BUbjWxB8yaJznDHh2zqte4o=; b=xPykFTrvBff0p6qp0 baU4La5wfms/daba1jsM4z69wbgKmRkpp0+ktjuJfV6Z4S6QP9YdiBCgJpnqCWE1 BukBlzFUYY7j8oI/hjHjhBldRachNtV7/UgRff2Q9QIxfrFetJb2jipQFQ0gYUdY uziYnW3/2vjskDiFWJj6Kzlq7AqFbBM6MJtFRWdj2M/VE9+3dNSwxZGCotEfOL1r eH67pNpYuIa9vkA48RujhDxb34b3NxyNg9H0Rz61jlAm9dqJvcW3wnJOjjLmGYyZ 1HJeFdutf9Fn7N3VcL3kuGcLNZHIRhEC6ZnE8ztmOeqNj4NqLS/WqBdGBYYMXPKb Bp8qA== 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=IJkC2g5376WEjFGsVZm0BUbjWxB8yaJznDHh2zqte 4o=; b=k4H3Jbn3YVyDWERjR6SISxQwXY1BGfieltk4f5mAEA+J+y0DrKq7gF+ts pWugBHO/pubTa5DIaq6OGsk80m2Jnzwx9HxuTHaW3AmilAJ8F4p0DE02mqx8SQUe pkC9DX86erkcx/sngKsRSygnzoF4lmwaLnjvoLdG+Zt1M/juB6YAqHcod9acM8/t r7CHff5lNqmZpT3nlUYfVzuhNGQAy31RkC11+qU58qZpDoeVvPwXJBaIsluBOAOu zd75tzKv8PooAvFLcTGwHT+7QRyt5ML27Y4R5oZJPGcAwbDRHXknjmESG/IdiPls tn1MSoxBXzQykLf57JsZbpmcg9vsA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrleekgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpegvnhhtvghrphhrihhsvghnvghtrdhorhhgnecukfhppeejuddr vdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrd hklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id A93A51037C; Wed, 15 May 2019 10:20:55 -0400 (EDT) Subject: Re: perl path issue To: Prakash Ramakrishnan Cc: Ravi Krishna , David Steele , "pgsql-generallists.postgresql.org" References: <06dbaf91-2842-678c-e4a6-0aba40486292@aklaver.com> <6888C5C1-CB5A-41DD-976F-466E298CCBD6@aol.com> <0981c691-5105-5051-2568-4d661e8788f8@aklaver.com> <53e6f04f-1302-1598-8bc8-d6902eb63fcf@aklaver.com> <388b82cb-239f-a340-b133-f0115ac77915@aklaver.com> From: Adrian Klaver Message-ID: <3346d4e1-0c70-4379-69ef-1399ba6ec1e2@aklaver.com> Date: Wed, 15 May 2019 07:20:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.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 5/15/19 2:37 AM, Prakash Ramakrishnan wrote: > Hi Adrian, > > I don't much about pgbackrest i think it will take backup from archives > Now only one the issue means perl cant load. I don't use pgBackRest so I am speculating now, but I believe your issue is due to mixing local and remote operations. From a previous post: [global] repo1-host=sydcosafpp001.enterprisenet.org repo1-host-user=postgres repo1-host-config=/etc/pgbackrest.conf repo1-path=/pgBACKUP/A4_sydcosafpp001/backup/A4_sydcosafpp001 [A4_sydcosafpp001] pg1-path=/Postgres/prakash_pgbackrest postgres(at)sydcosausd001(dot)enterprisenet(dot)org:/home/postgres restore command - pgbackrest --stanza=A4_sydcosafpp001 --log-level-console=info --db-path=/Postgres/prakash_pgbackrest --delta --process-max=2 --db-include=A4_Copy restore --repo1-path=/pgBACKUP/A4_sydcosafpp001/backup/A4_sydcosafpp001 Looks to me are trying to use both a local(repo1-path) and remote(repo1-host*) repo at the same time. Given that the pgBackRest/EDB Postgres combination works on the prod server I would try doing a local only backup on the dev machine of the dev Postgres instance using the dev pgBackRest. This will help confirm whether there is a Perl issue on the dev machine or not. > > Regards, > Prakash.R > > On Tue, May 14, 2019 at 8:15 PM Adrian Klaver > wrote: > > On 5/14/19 7:40 AM, Prakash Ramakrishnan wrote: > > Hi Adrian, > > > > Prod server retention periods , > > > > [global] > > repo1-path=/pgBACKUP/A4_sydcosafpp001 > > *retention-diff=3* > > *retention-full=1* > > *retention-archive=2* > > start-fast=y > > process-max=12 > > archive-async=y > > > > Dev server currently we dont have only restore need to do prod to > dev. > > The issue is we are having trouble figuring out how the backups are > getting from one location to another and in what order. So could you > layout that out like I showed earlier: > > prod Pg db --pgBackRest--> some_host/some_dir/some_file  @daily > > dev Pg db <--pgBackRest -- some_host/some_dir/some_file  @3 weeks > > > > > Regards, > > Prakash.R > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > > > -- > > > > Thanks, > Prakash.R > PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On > call : +91-8939599426 -- Adrian Klaver adrian.klaver@aklaver.com