Hi Team,
We are currently using PBM version 2.0
Issue#1 (without PITR)
I am unable to delete PBM backups that are older than ‘X’ number of days.
Command I’m using for deleting the backups older than 5 days.
pbm delete-backup -f --older-than $(date -d ‘-5 days’ +%Y-%m-%d);
How can we setup backup retention policy in PBM?
Can we setup a cron to delete the backups in parallel with the backup schedule job?
Issue#2
For a replicaset on which PITR is enabled, we are unable to delete the PITR chunks manually.
Example command that doesn’t work
pbm delete-pitr --older-than=“2022-09-24T18:49:36Z” # will delete [2022-09-17T17:39:12Z - 2022-09-18T17:44:51Z]
Please help me on this.
I see an open JIRA for ability to delete older backups/pitr chunks. Any Idea when will this JIRA gets resolved?
https://jira.percona.com/browse/PBM-850
Thanks
Kiran