LinuxCommandLibrary

qm-migrate

Migrate a virtual machine.

TLDR

Migrate a specific virtual machine

$ qm migrate [vm_id] [target]
copy


Override the current I/O bandwidth limit with 10 KiB/s
$ qm migrate [vm_id] [target] --bwlimit 10
copy


Allow migration of virtual machines using local devices (root only)
$ qm migrate [vm_id] [target] --force true
copy


Use online/live migration if a virtual machine is running
$ qm migrate [vm_id] [target] --online true
copy


Enable live storage migration for local disks
$ qm migrate [vm_id] [target] --with-local-disks true
copy

Copied to clipboard