From: Ron <ronljohnsonjr@gmail.com>
To: David Steele <david@pgmasters.net>
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: pgbackrest restore to new location?
Date: Tue, 17 Sep 2019 09:04:16 -0500
Message-ID: <af253e5c-2754-c095-2521-7aad9ba35b35@gmail.com> (raw)
In-Reply-To: <47627a69-9899-1457-77ba-4bb547dadf69@pgmasters.net>
References: <1896f86b-d77f-3ea6-b304-0cb8912cab79@gmail.com>
<CAKoxK+7cr=Eykr7ygAToYEAUMQ35aLH0-4mFkar_oNA3pGFJ2w@mail.gmail.com>
<09baf146-9f0e-96d8-9ccf-afbe810f179f@gmail.com>
<CAKoxK+6_c67eZDzADdTgfP6j5=76CVkWXT7U+0CF2qqFZZyH_Q@mail.gmail.com>
<47627a69-9899-1457-77ba-4bb547dadf69@pgmasters.net>
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 <ronljohnsonjr@gmail.com> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com, david@pgmasters.net
Subject: Re: pgbackrest restore to new location?
In-Reply-To: <af253e5c-2754-c095-2521-7aad9ba35b35@gmail.com>
References: <1896f86b-d77f-3ea6-b304-0cb8912cab79@gmail.com> <CAKoxK+7cr=Eykr7ygAToYEAUMQ35aLH0-4mFkar_oNA3pGFJ2w@mail.gmail.com> <09baf146-9f0e-96d8-9ccf-afbe810f179f@gmail.com> <CAKoxK+6_c67eZDzADdTgfP6j5=76CVkWXT7U+0CF2qqFZZyH_Q@mail.gmail.com> <47627a69-9899-1457-77ba-4bb547dadf69@pgmasters.net> <af253e5c-2754-c095-2521-7aad9ba35b35@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox