[pbs-devel] [PATCH proxmox-backup 0/2] fix #6358: group removal fails if group notes exist

Christian Ebner c.ebner at proxmox.com
Wed May 7 17:38:32 CEST 2025


These patches fix an issue with the backup group removal failing and
leaving behind an unusable backup group, due to not taking a possibly
present backup group's notes file into account.

The series consists of 2 patches, the first being preparatory,
allowing to reuse the group notes filepath helper, the second fixing
the actual issue by conditionally removing the notes file before
further group directory cleanup.

Link to the bugtracker issue:
https://bugzilla.proxmox.com/show_bug.cgi?id=6358

Christian Ebner (2):
  api: datastore: make group notes path helper a DataStore method
  fix #6358: remove group note file if present on group destroy

 pbs-datastore/src/backup_info.rs |  7 +++++++
 pbs-datastore/src/datastore.rs   | 11 +++++++++++
 src/api2/admin/datastore.rs      | 26 +++++++-------------------
 3 files changed, 25 insertions(+), 19 deletions(-)

-- 
2.39.5





More information about the pbs-devel mailing list