how to migrate vm to another proxmox?

alexander_

New Member
Sep 5, 2020
1
0
1
30
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/