Restore form backup issue

MnM

Renowned Member
May 12, 2016
16
1
68
Hi,

I have Proxmox 7.2.3

I use the built-in back for my VMs. But there is an issue when restoring.

For any VM that I have hardware passthrough enabled the restore is commented out and other characters are added to that line in the conf file.
So after a restore I have to login the Proxmox and edit the conf file before I can start the vm.

For example I pass through a HDD to a VM. When I restore from back up the line for the HDD in the conf file is:

#scsi2%3A /dev/disk/by-id/......

I have to manually modify it to be like below before I can start the vm:

scsi2: /dev/disk/by-id/....

the other 2 scsi devices (local hdds not passthrough) are OK so technically the vm can boot but it will be missing the passthrough hdd if I don't edit the conf file first.

Is this something that can be fixed?

Thanks.