how to migrate vm to another proxmox?

alexander_

New Member
Sep 5, 2020
1
0
1
29
hello.

i need to migrate vm to another proxmox. how can i do it?
i can't make backup in current proxmox, because HDD almost full.


my english is very bad. sorry.
thx.
 
I assume it is not a cluster, otherweise you could just move it from the UI.

If it is a separate proxmox server and you use ZFS then just transfer the VM via ssh und zfs send to the other proxmox and copy the vm conf file.
E.g. lets transfer vm 100 from hosta to hostb assuming identical zfs dataset vmdata which hole the disks:

From hosta:
zfs snapshot vmdata/vm-100-disk-0@transfer
zfs send vmdata/vm-100-disk-0@transfer | ssh root@hostb zfs receive vmdata/vm-100-disk-0
scp send /etc/pve/qemu-server/100.conf root@hostb:/etc/pve--qemu-server/
 

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!