Restore Error

jkmilla

New Member
Feb 4, 2023
7
0
1
I have tried so many times to restore my backup but getting error. So please find below the error message, and I hope someone can help fix it.

root@Proxmox-VE-1 /var/lib/vz/dump # qmrestore vzdump-qemu-100-2023_01_24-09_16_57.vma.gz 100
restore vma archive: zcat /var/lib/vz/dump/vzdump-qemu-100-2023_01_24-09_16_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp333468.fifo - /var/tmp/vzdumptmp333468
CFG: size: 485 name: qemu-server.conf
DEV: dev_id=1 size: 41111426957312 devname: drive-scsi0
CTIME: Tue Jan 24 08:16:57 2023
Formatting '/var/lib/vz/images/100/vm-100-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=41111426957312 lazy_refcounts=off refcount_bits=16
no lock found trying to remove 'create' lock
error before or during data restore, some or all disks were not completely restored. VM 100 state is NOT cleaned up.
command 'set -o pipefail && zcat /var/lib/vz/dump/vzdump-qemu-100-2023_01_24-09_16_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp333468.fifo - /var/tmp/vzdumptmp333468' failed: command '/usr/bin/qemu-img create -o 'preallocation=metadata' -f qcow2 /var/lib/vz/images/100/vm-100-disk-0.qcow2 40147877888K' failed: got timeout
 
Hi,
you might want to try using pvesm set local --preallocation off, because preallocation for the qcow2 metadata might be what causes the timeout.
 
Thanks, Fiona. I don't know how to do that. I will be very grateful if you can help me achieve that.
 
I already posted the command you need to use ;)
Code:
pvesm set local --preallocation off
You can also do it in the web UI, by going to Datacenter > Storage > local > Edit. With the Advanced checkbox, the Preallocation setting should show up.
 
Hello Fiona,
I followed your instruction, and yes, it works. Thank you again. Anyway after the restoration I faced the following error while starting:

(TASK ERROR: storage 'local' does not support content-type 'iso')

Hoping to will help once more
 
You can edit the storage in the UI (see my last post) and allow content type ISO image.
 
I found the same issue posted 2021 which you fixed and I followed the instruction which I was able to fixed the above issue so thank you again
 
Hello Fiona, after restoring the backup, I tried to download my files, but I am getting the following error message:
(

Error​

  • The File is currently busy; please try again later)

Please any idea how to solve this?
 
Hello Fiona, after restoring the backup, I tried to download my files, but I am getting the following error message:
(

Error​

  • The File is currently busy; please try again later)

Please any idea how to solve this?
Where exactly do you see this error? How are you trying to download files?
 
Unfortunately, I have never used Nextcloud, so I can't help you there. If you're lucky some forum user here can, but maybe try searching for the error on Nextcloud-related sites or the larger web.