Re: [pgbackrest] Expiring the last backup?

From: David Steele <david(at)pgmasters(dot)net>
To: Ron <ronljohnsonjr(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: [pgbackrest] Expiring the last backup?
Date: 2019-01-25 06:49:23
Message-ID: 7cb40208-3fdb-1ba7-cac2-51e6026e093b@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)pgmasters(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2019-01-25 09:10:57 Sv: Re: Geographical multi-master replication
Previous Message Vijaykumar Jain 2019-01-25 06:12:20 Re: [External] Re: Geographical multi-master replication