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 1iAE5g-00072y-LI for pgsql-general@arkaria.postgresql.org; Tue, 17 Sep 2019 14:04:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iAE5f-0003Ox-He for pgsql-general@arkaria.postgresql.org; Tue, 17 Sep 2019 14:04:23 +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 1iAE5f-0003On-66 for pgsql-general@lists.postgresql.org; Tue, 17 Sep 2019 14:04:23 +0000 Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iAE5c-0004tM-DM for pgsql-general@postgresql.org; Tue, 17 Sep 2019 14:04:22 +0000 Received: by mail-oi1-x243.google.com with SMTP id 83so1443179oii.1 for ; Tue, 17 Sep 2019 07:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=Y/hlVgIgc1fGfBCJkhOJjiAaBnGagPROaTcHjSEpDUk=; b=s5YcZ3QuLz0p5/6zYuaFdp+p4l41PdX44HTHngM33oEM8duVOuC8fqIYPSO5zbBi4V 4BUy9Wgc4fXBG9+/RmVfyfQsaIeTrELGssagOe/BHZCQcxZCkuuAfsJybFOqLIaQZ4l5 ZP7OY1uVDntxrVyQEOrIVznHdyB2bmOXPIXbuZSOuyGOTo4HHfPYUNNDJ3HcRtQJ7mbq D5oM+2dWiP+aVkn0w+Vm0GUUsw5avmt2igRjLp94ag++w0U3cuOiCMG6vR5G2cCSD6ii xpLPDM36zpkf/oy+nByxEfpGWujGkXo21QGEEHgI8lFUbFcpztvdg890ua8ox3QCZelP Y+YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Y/hlVgIgc1fGfBCJkhOJjiAaBnGagPROaTcHjSEpDUk=; b=XMyM4VZzF/6BXLOxkl+0EJl3q0cn+AxOhieMGGSlS8BH/cE1DVvakGsia31ww3uWGH Icj7+V5wnToFJwVkrZxVXikVnO0kcuk8MUvYaHqTyCRQH1/obYzBaOALD14/Xe/Dl4MI HBf9Q85CyYx3/Dhhf/aKYvrfqaPvo/YY/wSS+f4xqW7TKsuXQj2tRNf4m7UEksBsswtZ bd2PsNlUWwm6TkDSMVjFkW8GvGZupu90WACJ/GYwtnpV7hdr/IzdbHnOeR8G6b5Edfqo 9n+iCJLyyrRKAChu6o1N3MVsD/1Nyf6PnVR0AEReWPTNUj2PRiZep4d3DqFZ5NMcSyGF rUyA== X-Gm-Message-State: APjAAAWuXGGtmTn34MdNSi16hQWAdY261kho2+NKcE2OijgcFUvMN6uH LNVLgyNe5wd3hXWJphP7JWw351TtYp9JeQ== X-Google-Smtp-Source: APXvYqwo0n1tpz/qUBa8H0oUHKwndd9H27ctWyeGtKhNnMwcKaAjpC89hjTaknDTEWRY4YzwweLwcQ== X-Received: by 2002:aca:cdc7:: with SMTP id d190mr3654851oig.148.1568729058201; Tue, 17 Sep 2019 07:04:18 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id t18sm749692otd.60.2019.09.17.07.04.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Sep 2019 07:04:17 -0700 (PDT) Subject: Re: pgbackrest restore to new location? To: David Steele Cc: Forums postgresql References: <1896f86b-d77f-3ea6-b304-0cb8912cab79@gmail.com> <09baf146-9f0e-96d8-9ccf-afbe810f179f@gmail.com> <47627a69-9899-1457-77ba-4bb547dadf69@pgmasters.net> From: Ron Message-ID: Date: Tue, 17 Sep 2019 09:04:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <47627a69-9899-1457-77ba-4bb547dadf69@pgmasters.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9/17/19 6:48 AM, David Steele wrote: > On 9/17/19 7:23 AM, Luca Ferrari wrote: >> On Tue, Sep 17, 2019 at 12:00 PM Ron wrote: >>> The real problem is that after doing that, "pg_ctl start -D >>> /path/to/new/data" fails with "PANIC: could not locate a valid checkpoint >>> record". > Sounds like backup_label is missing or has been deleted. > > The easiest way to restore to a new location is just to copy > pgbackrest.conf from the primary (or create a new one) with the same > stanza and then alter pg1-path in pgbackrest.conf or at the command line. That's what I did.  (Also, I opened Issue #839 in GitHub  All of the log files are attached there.) -- Angular momentum makes the world go 'round.