Hello,
I have a few questions regarding PBM version 2.14.
We are using PBM in both MongoDB replica set (Primary-Secondary-Arbiter) and sharded cluster environments. We perform a logical backup once per day and run PITR backups every 10 minutes.
However, I noticed an issue with the cleanup functionality. When I run the pbm cleanup --older-than command in PBM 2.14, it always returns “nothing to do”.
For example, assume the following backups exist:
- Backup taken on June 2, 2026
- Backup taken on June 4, 2026
If I execute:
pbm cleanup --older-than "2026-06-03"
I would expect the June 2 backup to be removed, but instead the command outputs “nothing to do” and no deletion occurs.
The same behavior occurs when using pbm delete backup. However, if I explicitly specify the backup name using:
pbm delete-backup <backup_name>
the backup is deleted successfully.
I also noticed that when running pbm status or pbm list, the Base column shows “No” for all backups. This seems related to the issue.
My questions are:
- Why does
pbm cleanup --older-thannot remove older backups and return “nothing to do”? - Is this behavior related to the Base = No status shown in
pbm statusandpbm list? - Since we are creating logical backups, why are they displayed as Base = No rather than Base = Yes?
- We are running PITR continuously and also performing a full logical backup every day. When viewing the PITR restore ranges (for example, in pbm list or related commands), the entries appear to be listed starting from the oldest available point in time rather than from the most recent full backup. Could you explain why the PITR ranges are displayed in this order and whether this is the expected behavior?
Below is a sample output from pbm status for reference.
Any advice or clarification would be greatly appreciated.
Thank you.