Restore backup 50Tb

CyXX

New Member
May 27, 2019
3
0
1
35
Hello gentlemen, we have such a problem. Proxmox VE 5-4-5 It turned out that when the size of the hard disk was changed by one of the VMs, they made a mistake or a glitch happened and it turned out they made 50TB for the 50GB place. Proxmox successfully made a backup of this virtual machine, but the next day, it was necessary to roll back here and it turned out that there 50TB.

The xxx.vma.gz archive weighs 30GB. The xxx.vma file found in it weighs 40GB, but you need the xxx.qcow2 disk image itself, which lies in xxx.vma, it weighs just 50TB and you need to somehow get extract vma gives an error in the 2TB file xxx.qcow2, this ext3 restriction is possible, but on a machine with ext4, the error is the same, or the operation timeout error

when trying to restore from a vma file, the disbursement lasts exactly 10 minutes and fails with the TASK ERROR error: command 'set -o pipefail && zcat /backup/dump/vzdump-qemu-101-2019_05_24-05_54_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp7338.fifo - / var / tmp / vzdumptmp7338 'failed: unable to create image: qemu-img: /ssd1/images/101/vm-101-disk-0.qcow2: The image size is too large (try using a larger cluster size)

or

TASK ERROR: command 'set -o pipefail && zcat /backup/dump/vzdump-qemu-101-2019_05_24-05_54_57.vma.gz | vma extract -v -r /var/tmp/vzdumptmp17319.fifo - / var / tmp / vzdumptmp17319 'failed: command' / usr / bin / qemu-img create -o 'preallocation = metadata' -f qcow2 / var / lib / vz / images / 101 / vm-101-disk-0.qcow2 52449329152K 'failed: got timeout

is there any way to resize an image or cut or unzip it somehow
 
is there any way to resize an image or cut or unzip it somehow

You can try to extract it manually:

Code:
zcat /backup/dump/vzdump-qemu-101-2019_05_24-05_54_57.vma.gz | vma extract - -v ./vm-101

And wait until it is finished or another error arises
 

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!