How to backup raw image on lvm storage to another proxmox host

m3a2r1

Active Member
Feb 23, 2020
162
5
38
47
I've got such problem. On my main pve host failed 2 disks. There are FreeNAS on it with his image on LVM and 5 Windows VMs with disks located on NFS storage from FreeNAS. So I want to migrate everything to another host but I don't know how to do it. I can't see raw image of FreeNAS, I can only backup qcow2 images of Windows VMs.
I thought that I'll move whole FreeNAS with storage and recreate machines on new host, is it possible?
I want to do it as fast as possible, next failed disk and I'll lost all my storage.
I will be very appreciate for any help.
 
You can use the pvesm export [0] command to export the disk to your NFS share in either qcow2 or raw format.

Another way would be to make a one to one copy with dd from the source to the target server.

LVM disks are block devices. They show up in /dev/mapper/ in an identifiable way. Such as /dev/mapper/pve-vm--100--disk--0.


[0] https://pve.proxmox.com/pve-docs/pvesm.1.html