VZDump backups not removed when deleting VM/Container?

jw6677

Active Member
Oct 19, 2019
93
5
28
34
www.cayk.ca
I am migrating my backups over to PBS, and I am using the opportunity to clean up old containers+VMs.

Previously I was using cephfs storage for backups, which has resulted in ~15TB /mnt/pve/cephfs/dump directory.

I noticed while deleting old machines that the associated VZDump backups are not being removed,

For example
Code:
/mnt/pve/cephfs/dump/vzdump-qemu-150-2022_10_13-01_29_31.vma.zst
/mnt/pve/cephfs/dump/vzdump-qemu-150-2022_10_13-01_29_31.log
etc.


Will these get cleaned up automatically somehow, or is this simply a missing option in the GUI to remove these automatically?
I assumed that "Destroy unreferenced disks owned by guest" and "Referenced disks will always be destroyed." would mean the backups would be wiped too...


Not sure if this is:
  1. A bug of some sort
  2. A feature request for a new checkbox to signal the removal of backups
  3. A functionality that will occur at a future time, which I am not aware of
  4. or something else

Can you shed some light on the situation?
 
A common use case is to delete a broken VM prior to restoring it from a backup. It would not be good to automatically delete backups. Even making it a check box on the delete screen would lead to accidental deletions and complaints.
 
  • Like
Reactions: UdoB