commands.sh

qm migrate

linux

Migrate a virtual machine. Used to create a new migration task.

More info →

Options (1)

boolean

Migrate a specific virtual machine

Example: qm {{[mi|migrate]}} {{vm_id}} {{target}}

Examples (5)

Migrate a specific virtual machine

qm [mi|migrate] vm_id target

Override the current I/O bandwidth limit with 10 KiB/s

qm [mi|migrate] vm_id target --bwlimit 10

Allow migration of virtual machines using local devices (root only)

qm [mi|migrate] vm_id target --force true

Use online/live migration if a virtual machine is running

qm [mi|migrate] vm_id target --online true

Enable live storage migration for local disks

qm [mi|migrate] vm_id target --with-local-disks true
made by @shridhargupta | data from tldr-pages