Can not restore VM from backup

kazi

Member
Jan 18, 2024
67
1
8
Hi,
I can not restore VM from proxmox backup server. I am getting this error

Rounding up size to full physical extent 4.00 MiB
Logical volume "vm-129-disk-1" created.
new volume ID is 'strorage-2:vm-129-disk-1'
Logical volume "vm-129-disk-2" created.
new volume ID is 'strorage-2:vm-129-disk-2'
restore proxmox backup image: /usr/bin/pbs-restore --repository admin@pbs@10.1.60.20:sgoc-pbs --ns prod-omaha vm/101/2024-09-04T00:35:47Z drive-efidisk0.img.fidx /dev/pev2/vm-129-disk-1 --verbose --format raw
connecting to repository 'admin@pbs@10.1.60.20:sgoc-pbs'
restore failed (connection error): command error: error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1889:
Renamed "vm-129-disk-2" to "del-vm-129-disk-2" in volume group "pev2"
temporary volume 'strorage-2:vm-129-disk-2' sucessfuly removed
Renamed "vm-129-disk-1" to "del-vm-129-disk-1" in volume group "pev2"
temporary volume 'strorage-2:vm-129-disk-1' sucessfuly removed
trying to acquire lock...
can't lock file '/var/lock/qemu-server/lock-129.conf' - got timeout

Any idea why?
 
certificate verify failed
Did you set an certificate fingerprint at
Datacenter > Storage > {PBS entry} > Edit > Fingerprint?

If you have no valid certificate (like Let's Encrypt) you need to put the fingerprint of your PBS certificate here.
 
I resolve this way

  • On proxmox-backup-server run proxmox-backup-manager cert update --force
  • systemctl reload proxmox-backup-proxy
  • Visit pbs on the web, and show fingerprint - copy
  • Go to proxmox, Datacenter, Storage, edit PBS endpoint and paste new fingerprint It still behaves the same way.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!