Re: pgbackrest restore to new location? - Mailing list pgsql-general

From Ron
Subject Re: pgbackrest restore to new location?
Date
Msg-id af253e5c-2754-c095-2521-7aad9ba35b35@gmail.com
Whole thread Raw
In response to Re: pgbackrest restore to new location?  (David Steele <david@pgmasters.net>)
Responses Re: pgbackrest restore to new location?
List pgsql-general
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.



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pldbgapi extension
Next
From: Rui DeSousa
Date:
Subject: Re: max_connections parameter: too_many_connections error