วันศุกร์ที่ 1 ธันวาคม พ.ศ. 2560

Proxmox restore from LZO backup

Proxmox restore from LZO backup

I recently had to restore a KVM disk image from a LZO archive on a new proxmox server. I chose to do this via the command line, instead of the web interface.
First of make sure that there’s enough space on the server where you are going to restore. It will need to hold the vma file as well as the extracted image.
lzop -d vzdump-qemu-100-2015_09_01-01_00_00.vma.lzo
This will extract the vma file from the lzo archive. Change the file name to whatever your actual file name is.
vma extract vzdump-qemu-111-2013_06_12-11_43_15.vma -v /tmp/restore
This will extract the VM image file as well as the configuration to the directory /tmp/restore. You can change this path to whatever is appropriate. The directory restore will be automatically created.
You can now mount this disk as a block device using NBD for QCOW2 images.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น