PVE node: 7.4-17
PBS: 3.1-2
PBS built just over a month ago and yesterday started to configure PVE backup jobs with retention settings:
keep-last 4
keep-weekly 52
keep-monthly 24
keep-yearly 10
1st PVE backup job with the retention settings resulted in removal of the only backup (in PBS) from September. I was expecting the September backup to be retained and had tried out settings first using the prune simulator. (This removal occurred with several VM backups)
Note there are no prune jobs configured in PBS - only the retention settings for the PVE backup job.
Example
task log for prune (from PBS task history):
list of backups in the PBS datastore after the prune (to show no backups from September retained)
Any ideas on what I have got wrong here?
Thanks
James
PBS: 3.1-2
PBS built just over a month ago and yesterday started to configure PVE backup jobs with retention settings:
keep-last 4
keep-weekly 52
keep-monthly 24
keep-yearly 10
1st PVE backup job with the retention settings resulted in removal of the only backup (in PBS) from September. I was expecting the September backup to be retained and had tried out settings first using the prune simulator. (This removal occurred with several VM backups)
Note there are no prune jobs configured in PBS - only the retention settings for the PVE backup job.
Example
task log for prune (from PBS task history):
Code:
2023-12-29T00:10:28+00:00: retention options: --keep-last 4 --keep-weekly 52 --keep-monthly 24 --keep-yearly 10
2023-12-29T00:10:28+00:00: Starting prune on datastore 'store1', root namespace group "vm/101"
2023-12-29T00:10:28+00:00: vm/101/2023-11-29T09:25:41Z remove
2023-12-29T00:10:28+00:00: vm/101/2023-12-01T19:44:27Z keep
2023-12-29T00:10:28+00:00: vm/101/2023-12-04T02:10:01Z keep
2023-12-29T00:10:28+00:00: vm/101/2023-12-12T22:49:23Z protected
2023-12-29T00:10:28+00:00: vm/101/2023-12-13T18:17:29Z protected
2023-12-29T00:10:28+00:00: vm/101/2023-12-18T00:10:02Z keep
2023-12-29T00:10:28+00:00: vm/101/2023-12-25T00:10:04Z keep
2023-12-29T00:10:28+00:00: vm/101/2023-12-29T00:10:01Z keep
2023-12-29T00:10:28+00:00: TASK OK
list of backups in the PBS datastore after the prune (to show no backups from September retained)
Code:
root@crusader:~# pvesm list banshee-store1 --vmid 101
Volid Format Type Size VMID
banshee-store1:backup/vm/101/2023-12-01T19:44:27Z pbs-vm backup 21475378379 101
banshee-store1:backup/vm/101/2023-12-04T02:10:01Z pbs-vm backup 21475378377 101
banshee-store1:backup/vm/101/2023-12-12T22:49:23Z pbs-vm backup 21475378353 101
banshee-store1:backup/vm/101/2023-12-13T18:17:29Z pbs-vm backup 21475378351 101
banshee-store1:backup/vm/101/2023-12-18T00:10:02Z pbs-vm backup 21475378376 101
banshee-store1:backup/vm/101/2023-12-25T00:10:04Z pbs-vm backup 21475378377 101
banshee-store1:backup/vm/101/2023-12-29T00:10:01Z pbs-vm backup 21475378268 101
root@crusader:~#
Any ideas on what I have got wrong here?
Thanks
James