Re: [pgbackrest] Expiring the last backup? - Mailing list pgsql-general

From David Steele
Subject Re: [pgbackrest] Expiring the last backup?
Date
Msg-id 7cb40208-3fdb-1ba7-cac2-51e6026e093b@pgmasters.net
Whole thread Raw
In response to Re: [pgbackrest] Expiring the last backup?  (Ron <ronljohnsonjr@gmail.com>)
List 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@pgmasters.net


pgsql-general by date:

Previous
From: Vijaykumar Jain
Date:
Subject: Re: [External] Re: Geographical multi-master replication
Next
From: Andreas Joseph Krogh
Date:
Subject: Sv: Re: Geographical multi-master replication