how to do it correctly? how to passthrough to VM?you need to manually handle (via map and either passthrough into a VM or manual restore on the host).
$ proxmox-backup-client map vm/800/2023-01-16T13:09:55Z drive-scsi0.img --repository test@pbs@localhost:tank
Password for "test@pbs":
Image 'test@pbs@localhost:8007:tank:vm/800/2023-01-16T13:09:55Z/drive-scsi0.img' mapped on /dev/loop0
qm set 800 -scsi1 /dev/loop0,snapshot=1
update VM 800: -scsi1 /dev/loop0,snapshot=1
$ qm set 800 -delete scsi1
update VM 800: -delete scsi1
$ proxmox-backup-client unmap loop0
mounting 'drive-virtio0.img.fidx/part/2' failed: all mounts failed or no supported file system (400)
[2024-10-01T06:02:54.884Z WARN proxmox_restore_daemon::proxmox_restore_daemon::disk] mount error on '/dev/vda2' (ntfs3) - ENOENT: No such file or directory
proxmox-backup-client map vm/108/2024-09-30T18:00:05Z drive-virtio0.img --repository backupuser@pbs@bielefeld:dwd
Image 'backupuser@pbs@bielefeld:8007:dwd:vm/108/2024-09-30T18:00:05Z/drive-virtio0.img' mapped on /dev/loop0
mount -t ntfs /dev/loop0p2 /tmp/test
mount: /tmp/test: WARNING: source write-protected, mounted read-only.
/dev/loop0p2 on /tmp/test type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)
[2024-10-01T06:12:04.300Z INFO proxmox_restore_daemon::proxmox_restore_daemon::disk] mounting '/dev/vda2' succeeded, fstype: 'ntfs3'
mount -t ntfs3 /dev/loop0p2 /tmp/test
mount: /tmp/test: mount(2) system call failed: No such file or directory.
dmesg(1) may have more information after failed mount system call.
We use essential cookies to make this site work, and optional cookies to enhance your experience.