Hello,
I was poking around in the man pages for the proxmox-backup-client and discovered the "mount" command and decided to test it.
Firstoff: the man page is not complete
but when you enter
There is the hint about a target missing, but no big deal, you will discover that quite quickly.
So I tried mounting a drive that was backed up via the PVE integration:
I recieve the following Error:
Is .img not a drive image?
I was poking around in the man pages for the proxmox-backup-client and discovered the "mount" command and decided to test it.
Firstoff: the man page is not complete
Code:
proxmox-backup-client map <snapshot> <archive-name> [OPTIONS]
Map a drive image from a VM backup to a local loopback device. Use 'unmap' to undo. WARNING: Only do this with trusted backups!
<snapshot> <string>
Group/Snapshot path.
<archive-name> <string>
Backup archive name.
Optional parameters:
--keyfile <string>
Path to encryption key.
--repository <string>
Repository URL.
--verbose <boolean> (default=false)
Verbose output and stay in foreground.
proxmox-backup-client mount
you get the following help:
Code:
Usage: proxmox-backup-client <snapshot> <archive-name> <target> [OPTIONS]
<snapshot> <string>
Group/Snapshot path.
<archive-name> <string>
Backup archive name.
<target> <string>
Target directory path.
Optional parameters:
--keyfile <string>
Path to encryption key.
--repository <string>
Repository URL.
--verbose <boolean> (default=false)
Verbose output and stay in foreground.
So I tried mounting a drive that was backed up via the PVE integration:
proxmox-backup-client mount vm/102/2020-11-03T03:03:25Z drive-scsi0.img.fidx /testmounts/ --repository store02
(tried with and without the .fidx)I recieve the following Error:
Code:
Error: Can only mount/map pxar archives and drive images.