Good morning,
this is for preparation of a desaster recovery, I am just evaluating ways to handle a problematic situation. Let's assume I have
I can successfully reconstruct that VM from here by "qm importdisk" and so on. But that just feels wrong.
On the other hand for classic (and unencrypted) _dump_-files I can successfully restore a backup easy peasy like this:
What I currently fail to do is something like this:
I feel I am missing something obvious: qmrestore can not handle encryption and proxmox-backup-client does not handle the complete task? What is the equivalent command to manually restore a VM from encrypted PBS?
Best regards
this is for preparation of a desaster recovery, I am just evaluating ways to handle a problematic situation. Let's assume I have
- a dead PVE
- a working PBS
- another PVE Node (in another unrelated Cluster) to run a restored VM; already connected to PBS - but with a different Encryption key, so I don't want to destroy that configuration
Code:
~# proxmox-backup-client restore vm/2016/2023-07-19T22:05:06Z --keyfile /root/pbsdeadnode.key --repository pbs.local qemu-server.conf.blob qemu-server.conf
Using encryption key from '/root/pbsdeadnode.key'..
On the other hand for classic (and unencrypted) _dump_-files I can successfully restore a backup easy peasy like this:
Code:
qmrestore vzdump-qemu-2057-2023_07_18-18_38_04.vma.zst 802057 --storage ceph0
Code:
~# qmrestore 'synopbs:backup/vm/2016/2023-07-19T22:05:06Z' 802016
Error: missing key - manifest was created with key f2:aa:........
error before or during data restore, some or all disks were not completely restored. VM 802016 state is NOT cleaned up.
command '/usr/bin/proxmox-backup-client restore '--crypt-mode=none' vm/2016/2023-07-19T22:05:06Z index.json /var/tmp/vzdumptmp3221647/index.json --repository xxxx@pbs@192.168.3.110:xxxxxx' failed: exit code 255
Best regards