Restoring VM backup

SistemasSPA

New Member
Aug 10, 2023
9
0
1
Hi all!
I can't restore a BACKUP VM. BACKs are ok and don't has any error, but when I try to restore it, I tried this error:

restore vma archive: zstd -q -d -c /mnt/pve/VMs_BCK12/dump/vzdump-qemu-107-2024_09_03-19_00_02.vma.zst | vma extract -v -r /var/tmp/vzdumptmp909140.fifo - /var/tmp/vzdumptmp909140
CFG: size: 430 name: qemu-server.conf
DEV: dev_id=1 size: 1073741824000 devname: drive-scsi0
CTIME: Tue Sep 3 19:00:03 2024
Formatting '/mnt/pve/svr240z1/images/107/vm-107-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=1073741824000 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 107 state is NOT cleaned up.
TASK ERROR: command 'set -o pipefail && zstd -q -d -c /mnt/pve/VMs_BCK12/dump/vzdump-qemu-107-2024_09_03-19_00_02.vma.zst | vma extract -v -r /var/tmp/vzdumptmp909140.fifo - /var/tmp/vzdumptmp909140' failed: unable to create image: 'storage-svr240z1'-locked command timed out - aborting

Can help me, please?
Nacho
 
your storage is too slow to allocate the VM disk within 60s.. you can try with preallocation=off on the storage
 
your storage is too slow to allocate the VM disk within 60s.. you can try with preallocation=off on the storage
Hi Fabián

Many thanks by your prompt reply!
I will try this option and I will let know my restult on this thread.

BR
Nacho
 
Hi Fabián

Many thanks by your prompt reply!
I will try this option and I will let know my restult on this thread.

BR
Nacho
Hi again, Fabián:

I don't write that option. It appears when I restore a backup from the web panel. It is the text that appears in the restore task. How would I have to restore it to be able to force that option?

BR
Nacho
 
you need to set the option on the storage that you restore to..
 
Ok, but the storage don't exist now. When I restore the backup file, the options of the storage are on it. I can't change this.

BR
Nacho
 
I am not sure I follow.. when you restore a backup, the disks are either created on a single restore target storage, or on the original storages from the backed up config. you need to set the option on whichever storage is the right one for your storage task..
 
As it appears at top of this thread, it can be seen that this parameter is set by itself. It is what the restoration system reads from the backup file. Therefore, even if I create a new disk on which to recover the copy, the information of the original disk of the copy overwrites the destination disk and therefore those options cannot be modified.

BR
Nacho
 
  • Like
Reactions: SistemasSPA

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!