Can't restore lzo backup

alexpebody

New Member
Mar 17, 2021
6
0
1
43
Hi there, dear friends, please help solve this trouble...

I have lzo bakup on another hdd (manual copy 1.5y ago), when i copy that to my to dump folder ProxMox 5.4-13 machine i can't press restore button, no any reaction...

Then i trying manual decompress to vma and trying decompress to raw what then convert raw to qcow2, but i get this error (the same wnen trying: qmrestore 119_dbvirtual-42.vma 146):

Code:
restore vma archive: vma extract -v -r /var/tmp/vzdumptmp13296.fifo /stor4/dump/119_dbvirtual-42.vma /var/tmp/vzdumptmp13296
CFG: size: 383 name: qemu-server.conf
DEV: dev_id=1 size: 268435456000 devname: drive-sata0
CTIME: Sun Jul 29 12:03:19 2018
Formatting '/stor1/images/146/vm-146-disk-0.qcow2', fmt=qcow2 size=268435456000 cluster_size=65536 preallocation=metadata lazy_refcounts=off refcount_bits=16
new volume ID is 's1_1TB_sdc1:146/vm-146-disk-0.qcow2'
map 'drive-sata0' to '/stor1/images/146/vm-146-disk-0.qcow2' (write zeros = 0)
progress 1% (read 2684354560 bytes, duration 4 sec)
progress 2% (read 5368709120 bytes, duration 8 sec)
progress 3% (read 8053063680 bytes, duration 14 sec)
progress 4% (read 10737418240 bytes, duration 28 sec)
progress 5% (read 13421772800 bytes, duration 42 sec)
progress 6% (read 16106127360 bytes, duration 54 sec)
progress 7% (read 18790481920 bytes, duration 70 sec)
progress 8% (read 21474836480 bytes, duration 85 sec)
progress 9% (read 24159191040 bytes, duration 102 sec)
progress 10% (read 26843545600 bytes, duration 117 sec)
progress 11% (read 29527900160 bytes, duration 131 sec)
progress 12% (read 32212254720 bytes, duration 156 sec)
progress 13% (read 34896609280 bytes, duration 183 sec)
progress 14% (read 37580963840 bytes, duration 212 sec)
progress 15% (read 40265318400 bytes, duration 232 sec)
progress 16% (read 42949672960 bytes, duration 255 sec)
progress 17% (read 45634027520 bytes, duration 281 sec)
progress 18% (read 48318382080 bytes, duration 365 sec)
progress 19% (read 51002736640 bytes, duration 484 sec)
progress 20% (read 53687091200 bytes, duration 531 sec)
progress 21% (read 56371445760 bytes, duration 548 sec)
progress 22% (read 59055800320 bytes, duration 627 sec)
progress 23% (read 61740154880 bytes, duration 762 sec)

** (process:13297): ERROR **: 17:17:25.963: restore failed - blk_pwrite to  failed (-28)
temporary volume 's1_1TB_sdc1:146/vm-146-disk-0.qcow2' sucessfuly removed
no lock found trying to remove 'create'  lock

TASK ERROR: command 'set -o pipefail && vma extract -v -r /var/tmp/vzdumptmp13296.fifo /stor4/dump/119_dbvirtual-42.vma /var/tmp/vzdumptmp13296' failed: got signal 5

I trying restore to another sda1 one of three my nodes and the same result...

Anybody know, how i can restre this VM?

So thx!
 
I has change method and i don't know, why decompressed lzo not restoring... But here is ok:

Code:
root@proxmox:qmrestore --storage sda1 /n1s1/dump/119_vm-ip.vma.lzo 146
restore vma archive: lzop -d -c /n1s1/dump/119_vm-ip.vma.lzo | vma extract -v -r /var/tmp/vzdumptmp30721.fifo - /var/tmp/vzdumptmp30721
CFG: size: 383 name: qemu-server.conf
DEV: dev_id=1 size: 268435456000 devname: drive-sata0
CTIME: Sun Jul 29 12:03:19 2018
Formatting '/n1s1/images/146/vm-146-disk-0.qcow2', fmt=qcow2 size=268435456000 cluster_size=65536 preallocation=metadata lazy_refcounts=off refcount_bits=16
new volume ID is 'sda1:146/vm-146-disk-0.qcow2'
map 'drive-sata0' to '/n1s1/images/146/vm-146-disk-0.qcow2' (write zeros = 0)
 
Hi,
** (process:13297): ERROR **: 17:17:25.963: restore failed - blk_pwrite to failed (-28)
the error code -28 usually means "out of space".

And when you didn't specify the --storage option, it used the original storage s1_1TB_sdc1 from the backed-up configuration.
new volume ID is 's1_1TB_sdc1:146/vm-146-disk-0.qcow2'
 

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!