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

From David Steele
Subject Re: pgbackrest restore to new location?
Date
Msg-id 5c7420d6-ad30-7b09-516a-284b0659782b@pgmasters.net
Whole thread Raw
In response to Re: pgbackrest restore to new location?  (Stephen Frost <sfrost@snowman.net>)
Responses Re: pgbackrest restore to new location?
List pgsql-general
On 9/17/19 10:03 PM, Stephen Frost wrote:
>
> That said- it brings up a pretty serious issue that should be discussed,
> and that's nuking this:
>
> HINT:  If you are not restoring from a backup, try removing the file ".../backup_label".
>
> That hint is absolutely wrong these days when many tools have been
> updated to use the non-exclusive backup method and it just ends up
> getting people into trouble and, worse, can result in them having
> corrupted clusters.
>
> I'll get a patch into the next commitfest to remove it.  The exclusive
> method has been deprecated for quite a few releases and we should stop
> giving bad advice on the assumption that people are using it.

We updated the error message and hints in c900c152, but it was not
back-patched.

--
-David
david@pgmasters.net


Attachment

pgsql-general by date:

Previous
From: Marco Ippolito
Date:
Subject: Re: Installed PostgreSQL-11 in Ubuntu 18.04.02 Server Edition: Noexisting local cluster is suitable as a default target
Next
From: Stephen Frost
Date:
Subject: Re: pgbackrest restore to new location?