XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Setting "Protect from accidental deletion" breaks with backups and healtchecks

    Scheduled Pinned Locked Moved Backup
    1 Posts 1 Posters 6 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Online
      probain
      last edited by probain

      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.

      23a84083-7aa0-4405-81f2-30e630b5edd5-image.png

      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
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post