backup image name in live-restore task log

logics

Well-Known Member
Sep 8, 2019
44
8
48
34
Hi guys,

when restoring a VM via full-restore (i.e. the old way), you log the name of the backup as follows:


Code:
new volume ID is 'local-zfs:vm-102-disk-0'
restore proxmox backup image: /usr/bin/pbs-restore --repository root@pam@localhost:chunks4tbnvme101 vm/101/2021-05-17T11:32:02Z drive-scsi0.img.fidx /dev/zvol/rpool/data/vm-102-disk-0 --verbose --format raw --skip-zero
connecting to repository 'root@pam@localhost:chunks4tbnvme101'
open block backend for target '/dev/zvol/rpool/data/vm-102-disk-0'
starting to restore snapshot 'vm/101/2021-05-17T11:32:02Z'
download and verify backup index
progress 1% (read 8053063680 bytes, zeroes = 7% (570425344 bytes), duration 17 sec)
progress 2% (read 16106127360 bytes, zeroes = 6% (1090519040 bytes), duration 33 sec)
progress 3% (read 24159191040 bytes, zeroes = 7% (1816133632 bytes), duration 55 sec)
...

It's very useful that the repository is logged and the image name (here: vm/101/2021-05-17T11:32:02Z)

When doing a live restore, much of that info is omitted unfortunately:

Code:
new volume ID is 'local-zfs:vm-102-disk-0'
rescan volumes...
VM is locked (create)
Starting VM for live-restore
restore-drive-scsi0: transferred 0.0 B of 750.0 GiB (0.00%) in 0s
restore-drive-scsi0: transferred 528.0 MiB of 750.0 GiB (0.07%) in 1s
restore-drive-scsi0: transferred 912.0 MiB of 750.0 GiB (0.12%) in 2s
restore-drive-scsi0: transferred 1.3 GiB of 750.0 GiB (0.17%) in 3s
restore-drive-scsi0: transferred 1.6 GiB of 750.0 GiB (0.21%) in 4s
restore-drive-scsi0: transferred 1.8 GiB of 750.0 GiB (0.25%) in 5s
restore-drive-scsi0: transferred 2.3 GiB of 750.0 GiB (0.31%) in 6s
restore-drive-scsi0: transferred 2.6 GiB of 750.0 GiB (0.35%) in 7s
restore-drive-scsi0: transferred 2.9 GiB of 750.0 GiB (0.38%) in 8s
...

Can you please add the information here, too? Basically this whole block is missing:

Code:
restore proxmox backup image: /usr/bin/pbs-restore --repository root@pam@localhost:chunks4tbnvme101 vm/101/2021-05-17T11:32:02Z drive-scsi0.img.fidx /dev/zvol/rpool/data/vm-102-disk-0 --verbose --format raw --skip-zero
connecting to repository 'root@pam@localhost:chunks4tbnvme101'
open block backend for target '/dev/zvol/rpool/data/vm-102-disk-0'
starting to restore snapshot 'vm/101/2021-05-17T11:32:02Z'
 

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!