Setting "Protect from accidental deletion" breaks with backups and healtchecks
-
Having the flag "Protect from accidental deletion" has since yesterday left me with plenty of restored VMs. In the backup logs, it indicates that this happens during the healthcheck.
This has happened on 3 out of 6 VMs
Update: The other 3 VMs were opt-out from Healthchecks. So that is why this didn't affect them.
commit: dd5f0cdaa9993fae25469bd1cb1d01d4f2123f44
transfer Start: 2026-02-04 12:16 End: 2026-02-04 12:16 Duration: a few seconds Size: 2.01 GiB Speed: 81.14 MiB/s health check transfer Start: 2026-02-04 12:16 End: 2026-02-04 12:35 Duration: 19 minutes vmstart Start: 2026-02-04 12:35 End: 2026-02-04 12:35 Start: 2026-02-04 12:16 End: 2026-02-04 12:35 Error: forbidden operation: destroy is blocked: protected from accidental deletion Start: 2026-02-04 12:15 End: 2026-02-04 12:35 Duration: 20 minutes Error: forbidden operation: destroy is blocked: protected from accidental deletion Clean VM directory cleanVm: incorrect backup size in metadata merge Start: 2026-02-04 12:40 End: 2026-02-04 12:41 Duration: a minute Start: 2026-02-04 12:40 End: 2026-02-04 12:41 Snapshot Start: 2026-02-04 12:41 End: 2026-02-04 12:41 -
Not that this is an answer, but what happens if you uncheck the deletion box, and delete them manually?
-
@Greg_E i think protection is doing its job. do not delete.
but in case of healthcheck, the process should bypass that for the restored VMthoughts @bastien-nollet @florent ?
-
@Pilow clearly that is a bug
-
Manually unchecking makes the problem go away..
And I can also delete manually (after unchecking the HC-vms) -
@florent I did healthchecks one month or two ago.. I do not remember precisely
but I didn't have this bug.
so either specific to OP installation, or there is a regression somewhere