pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Steele <david@pgmasters.net>
To: Stephen Frost <sfrost@snowman.net>
To: Ron <ronljohnsonjr@gmail.com>
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: pgbackrest restore to new location?
Date: Wed, 18 Sep 2019 06:53:51 -0400
Message-ID: <5c7420d6-ad30-7b09-516a-284b0659782b@pgmasters.net> (raw)
In-Reply-To: <20190918020345.GO6962@tamriel.snowman.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>
	<af253e5c-2754-c095-2521-7aad9ba35b35@gmail.com>
	<20190918020345.GO6962@tamriel.snowman.net>

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

Attachments:

  signature.asc (application/pgp-signature, 873B) download

view thread (9+ messages)  latest in thread

Message-ID: <5c7420d6-ad30-7b09-516a-284b0659782b@pgmasters.net>
Permalink:  ../5c7420d6-ad30-7b09-516a-284b0659782b@pgmasters.net/
Also on:    postgresql.org/message-id/5c7420d6-ad30-7b09-516a-284b0659782b@pgmasters.net

 · 

reply

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: david@pgmasters.net, sfrost@snowman.net, ronljohnsonjr@gmail.com
  Subject: Re: pgbackrest restore to new location?
  In-Reply-To: <5c7420d6-ad30-7b09-516a-284b0659782b@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> <af253e5c-2754-c095-2521-7aad9ba35b35@gmail.com> <20190918020345.GO6962@tamriel.snowman.net> <5c7420d6-ad30-7b09-516a-284b0659782b@pgmasters.net>

* 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