Hi,Hello,
How is it possible to mount an encrypted Backup on our PBS? I don't understand the Syntax in the Documentation. Do I need an extra Hard Disk or can I mount it to a local directory?
Thank You!
proxmox-backup-client
+ key is able to do that.proxmox-backup-client
there and get the encryption key there. But that is not what you should do, as the main ideas of encrypted backups is that the server never knows about the key and the data is therefore secure (as in not decryptable) even if the server gets compromised.proxmox-backup-client mount /mnt/path/to/drive-sata0.img.fidx /mnt/path/ --keyfile /path/to/keyfile
parameter verification errors
Ah I see: note that the mount works only forYes, i already know. My Question is more: What Command exactly are you typing?
I've tried:Code:proxmox-backup-client mount /mnt/path/to/drive-sata0.img.fidx /mnt/path/ --keyfile /path/to/keyfile
I get: Error:Code:parameter verification errors
Thank You!
pxar
(file system based) backups. If you want to mount an image of a VM, than you will first have to map the image to a loopback device and than mount one of the the partitions of that.# proxmox-backup-client map vm/100/2020-10-24T19:00:00Z drive-scsi0.img --repository host:pbs --keyfile /path/to/key :(
Image 'host:pbs:vm/100/2020-10-24T19:00:00Z/drive-scsi0.img' mapped on /dev/loop0
# mount /dev/loop0p1 /mnt
mount: /mnt: WARNING: device write-protected, mounted read-only.
# ls /mnt
bin boot dev etc home lib lib64 lost+found mnt opt proc root run sbin srv sys tmp usr var
proxmox-backp-client list
should give you all the info you need for your backups.umount
and unmap
afterwards.Error: unable to parse backup snapshot path '/mnt/path/vm/id/2020-12-08T00:55:48Z/'
proxmox-backup-client map /mnt/path/vm/id/2020-12-08T00:55:48Z/ drive-scsi0.img.fidx --repository host:pbs --keyfile /root/pve-key.enc
Okay, so there seems to be a misunderstanding.I'm gettingCode:Error: unable to parse backup snapshot path '/mnt/path/vm/id/2020-12-08T00:55:48Z/'
While running
Code:proxmox-backup-client map /mnt/path/vm/id/2020-12-08T00:55:48Z/ drive-scsi0.img.fidx --repository host:pbs --keyfile /root/pve-key.enc
Any Ideas?
Thanks!
fidx
). You rather have to do this via the PBS client-server infrastructure, as the data is stored in the chunkstore and not contained within the index file, that one simply references the chunks.proxmox-backup-client list
shows you the last snapshot for each group and the files contained within that snapshot. That is the information you have to provide to the map
command, not the path to the index file.