Suspended VMs do not get backed up: bug or feature?

Jun 15, 2021
6
0
6
I noticed that the backup of a suspended vm does not work:

INFO: Starting Backup of VM 10005 (qemu)
INFO: Backup started at 2024-05-27 19:04:37
INFO: status = stopped
ERROR: Backup of VM 10005 failed - VM is locked (suspended)

Is this a bug or a feature? I don't see a reason why can't we treat a suspended vm as a stopped when backing it up, any reason why this is happening?
 
A VM needs to be started in order for QEMU to access its virtual disks. If it can't be started (passthroughed hardware not available, locked, ...) the backup will fail. So the question would be if QEMU could start a suspended VM without unsuspending it.
 
A VM needs to be started in order for QEMU to access its virtual disks. If it can't be started (passthroughed hardware not available, locked, ...) the backup will fail. So the question would be if QEMU could start a suspended VM without unsuspending it.

So basically the same situation as with a stopped vm, but backup of a stopped vm works. Looks like inability to backup a suspended vm is a bug then?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!