Hi guys,
On Oct. 1, 2021 you said:
my use-case for this is, when I have to restore a vm to a previous state, to restore some files.
The best way so far was to restore the vm in question, add a small transfer-disk - say 1GB to recover the file(s) needed, detach the disk, rename it to match the current productive vm and manually edit the matching .conf file under /etc/pve/qemu-server or on clusters under /etc/pve/nodes/..../qemu-server.
After recovery, I mostly delete the transfer-disk.
It would be nice, if there was an option from either within the vm hardware-config tab, in case a disk is unused, there could be an option "transfer disk to vm...." or there could be a section from within the storage "unused disks" and from there on the option "transfer disk to vm..."
regards,
Félix