According to
https://pbs.proxmox.com/docs/administration-guide.html#restoring-data, first check
But, instead of -, I should specify the /target/path/
The problem is that I’m not supposed to rebuild manually the storage for the KVM, instead the proxmox tool should take care of it instead of me, along with all other configuration of the virtual machine. ( especially if i plan to restore to lvm thin, /dev/vmdata/vm-102-disk-0 , not directory)
Looking at the restore log from GUI, I have
Instead, I was trying to use qmrestore utility
Especially required for https://forum.proxmox.com/threads/proxmox-backup-server-continuous-restore-script.73072/ . Thx!
https://pbs.proxmox.com/docs/administration-guide.html#restoring-data, first check
Code:
root@rise1rbx:~# proxmox-backup-client restore vm/100/2020-07-16T09:52:09Z index.json -
{
"backup-id": "100",
"backup-time": 1594893129,
"backup-type": "vm",
"files": [
{
"crypt-mode": "none",
"csum": "d94abe3ccfce64fb7732782858e50401945f2627be3c3378371284c3a8dd9c88",
"filename": "qemu-server.conf.blob",
"size": 1100
},
{
"crypt-mode": "none",
"csum": "a594dd86580f2caef0d68edeb8c05b920cd58d0062ae7be808cdce1fd1ff7cd7",
"filename": "drive-scsi0.img.fidx",
"size": 211741048832
}
],
"unprotected": {}
}
But, instead of -, I should specify the /target/path/
The problem is that I’m not supposed to rebuild manually the storage for the KVM, instead the proxmox tool should take care of it instead of me, along with all other configuration of the virtual machine. ( especially if i plan to restore to lvm thin, /dev/vmdata/vm-102-disk-0 , not directory)
Looking at the restore log from GUI, I have
Code:
restore proxmox backup image: /usr/bin/pbs-restore --repository root@pam@localhost:store2 vm/100/2020-07-16T09:52:09Z drive-scsi0.img.fidx /dev/vmdata/vm-102-disk-0 --verbose --format raw --skip-zero
Code:
cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content snippets,backup,vztmpl,iso,rootdir,images
maxfiles 0
shared 0
lvmthin: local-lvm
thinpool vmstore
vgname vmdata
content images,rootdir
dir: sata
path /var/eurodomenii/backup
content rootdir,vztmpl,backup,images,iso
maxfiles 0
shared 0
pbs: pb
datastore store2
server localhost
content backup
fingerprint 67:21:7d:44:e0:a6:32:2a:d1:6a:f0:09:44:0a:a8:c5:b5:4b:27:05:db:17:3e:6f:7b:35:8c:b0:c2:39:d2:16
maxfiles 0
username root@pam
Instead, I was trying to use qmrestore utility
Code:
root@rise1rbx:/# qmrestore /ab/store2/vm/100/2020-07-16T09:52:09Z/drive-scsi0.img.fidx 103
ERROR: couldn't determine archive info from '/ab/store2/vm/100/2020-07-16T09:52:09Z/drive-scsi0.img.fidx'
Code:
root@rise1rbx:/ab/store2/vm/100/2020-07-16T09:52:09Z# qmrestore /ab/store2/vm/100/2020-07-16T09:52:09Z/index.json.blob 105
ERROR: couldn't determine archive info from '/ab/store2/vm/100/2020-07-16T09:52:09Z/index.json.blob'
Code:
root@rise1rbx:~# qmrestore pb:/vm/100/2020-07-16T09:52:09Z 103
unable to parse PBS volume name '/vm/100/2020-07-16T09:52:09Z'
Especially required for https://forum.proxmox.com/threads/proxmox-backup-server-continuous-restore-script.73072/ . Thx!