Backup fails with "Can't start backup. Previous backup is still in progress" if manually delete the pg-backup object

Description

Hi,
STR:

  1. apply deploy/backup.yaml and with some incorrect option like:

  1. wait several seconds and delete it
    kubectl delete -f deploy/backup.yaml -n postgres-operator

  2. change the backup name and fix the option  and as a result the backup can’t start

In order to fix it you need to remove these annotations from PerconaPGCluster object
kubectl edit pg -n postgres-operator

Now backups work correctly.

Environment

None

Activity

Show:

Julio Pasinatto February 3, 2025 at 4:23 PM

Verified.

Slava Sarzhan January 24, 2025 at 4:05 PM

the issue was fixed and will be available in 2.6.0.

Jobin Augustine January 3, 2025 at 6:33 AM

I think we had similar issues before also :

I think the status of backup and Restore is not reconciled reliably.

Done

Details

Assignee

Reporter

Needs QA

Yes

Fix versions

Priority

Smart Checklist

Created December 31, 2024 at 6:19 PM
Updated March 17, 2025 at 5:49 PM
Resolved February 3, 2025 at 4:23 PM