pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Steele <david@pgmasters.net>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
To: Stephen Frost <sfrost@snowman.net>
Subject: Re: [pgbackrest] Expiring the last backup?
Date: Fri, 25 Jan 2019 08:49:23 +0200
Message-ID: <7cb40208-3fdb-1ba7-cac2-51e6026e093b@pgmasters.net> (raw)
In-Reply-To: <b230d591-0510-54c0-7710-9e36b3f284ef@gmail.com>
References: <1f2b45a1-b67e-1c41-abf6-4fc6a60c2b5d@gmail.com>
	<20190124132628.GL2528@tamriel.snowman.net>
	<2be1caa8-5a97-345b-53a6-e8de60ae4048@gmail.com>
	<20190124141153.GM2528@tamriel.snowman.net>
	<c8f3932a-e907-9d65-0cdd-8d5b2cca9746@gmail.com>
	<8640872f-d6bb-758b-e7b8-161e405c8137@pgmasters.net>
	<b230d591-0510-54c0-7710-9e36b3f284ef@gmail.com>

On 1/25/19 8:02 AM, Ron wrote:
> On 1/24/19 11:22 PM, David Steele wrote:
>> On 1/24/19 5:07 PM, Ron wrote:
>>>
>>> Are these the steps, or am I missing something?
>>>
>>> $ pgbackrest stop
>>> $ pgbackrest stanza-delete --stanza=mystanza--force
>>
>> That looks right but no need for --force.  That's what the `stop` is 
>> for -- to let pgBackRest know you really mean to do this.
>>
>> See documentation for more information:
>> https://pgbackrest.org/user-guide.html#delete-stanza
> 
> Turns out that --force was required.  stanza-delete failed, complained 
> that the postmaster was running, and told me to use "--force" if I 
> really wanted to drop it.

Whoops -- I guess I should have read the docs, too.  It's very unusual 
to be deleting a stanza for a running cluster and we made it difficult 
on purpose.

-- 
-David
david@pgmasters.net




view thread (9+ messages)

Message-ID: <7cb40208-3fdb-1ba7-cac2-51e6026e093b@pgmasters.net>
Permalink:  ../7cb40208-3fdb-1ba7-cac2-51e6026e093b@pgmasters.net/
Also on:    postgresql.org/message-id/7cb40208-3fdb-1ba7-cac2-51e6026e093b@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, ronljohnsonjr@gmail.com, sfrost@snowman.net
  Subject: Re: [pgbackrest] Expiring the last backup?
  In-Reply-To: <7cb40208-3fdb-1ba7-cac2-51e6026e093b@pgmasters.net>
  References: <1f2b45a1-b67e-1c41-abf6-4fc6a60c2b5d@gmail.com> <20190124132628.GL2528@tamriel.snowman.net> <2be1caa8-5a97-345b-53a6-e8de60ae4048@gmail.com> <20190124141153.GM2528@tamriel.snowman.net> <c8f3932a-e907-9d65-0cdd-8d5b2cca9746@gmail.com> <8640872f-d6bb-758b-e7b8-161e405c8137@pgmasters.net> <b230d591-0510-54c0-7710-9e36b3f284ef@gmail.com> <7cb40208-3fdb-1ba7-cac2-51e6026e093b@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