restore backup of disk, attached in passthrough mode to a vm. Proxmox 8

jdaw

New Member
Aug 30, 2023
5
0
1
I have windows VM, that I installed on a ssd, that is attached to a vm in passthrough mode. Proxmox 8 happily backs it up to the NAS, but when I try to restore backup, it says that it cannot restore it, and doesn't show the disk.

This is logical, I guess, as SSD is attached to a VM, but how I can restore backup then? Can I detach it/restore/reattach? If so, how? If not - how can I do that restore?

Thanks.

VM Configuration:

Code:
agent: 1
bios: ovmf
boot: order=scsi1;net0;hostpci0;ide0;ide2
efidisk0: local-lvm:vm-101-disk-2,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:01:00,pcie=1,x-vga=1
hostpci1: 0000:00:14,pcie=1
ide2: local:iso/virtio-win.iso,media=cdrom,size=522284K
scsi1: /dev/disk/by-id/nvme-Samsung_SSD_990_PRO_2TB_S73WNJ0W320367J,size=1953514584K
scsihw: virtio-scsi-single
 
Did you ever manage to resolve this? (Trying to restore a Ubuntu VM where it's system drive was on a passthrough drive).
 
My VM system was running Ubuntu. What I did was to install Ubuntu on a new drive, and attached a virtual backup disk to the same machine. Then I used rsync to copy everything from the backup disk to the new disk. It worked.