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
 

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!