Search Postgresql Archives

Re: [pgbackrest] Expiring the last backup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux