1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 16:35:43 +02:00
tldr/pages/linux/qm-migrate.md
2025-07-25 21:30:05 +05:30

714 B

qm migrate

Migrate a virtual machine. Used to create a new migration task. More information: https://pve.proxmox.com/pve-docs/qm.1.html.

  • 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