The answer is in the question, itself. The Stanza
is not deleted properly.
To delete a stanza:
- Shut down the PostgreSQL cluster associated with the stanza (or use
--force
to override).
- Run the stop command on the repository host.
- Run the stanza-delete command on the repository host.
Commands:
=> To stop cluster
sudo pg_ctlcluster 12 demo stop
=> To stop pgBackRest for the stanza
sudo -u postgres pgbackrest --stanza=demo --log-level-console=info stop
=> To delete the stanza
sudo -u postgres pgbackrest --stanza=demo --log-level-console=info stanza-delete