mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 19:41:40 +00:00
31 lines
761 B
Plaintext
31 lines
761 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 migrate {{vm_id}} {{target}}`
|
|
|
|
- Override the current I/O bandwidth limit with 10 KiB/s:
|
|
|
|
`qm migrate {{vm_id}} {{target}} --bwlimit 10`
|
|
|
|
- Allow migration of virtual machines using local devices (root only):
|
|
|
|
`qm migrate {{vm_id}} {{target}} --force true`
|
|
|
|
- Use online/live migration if a virtual machine is running:
|
|
|
|
`qm migrate {{vm_id}} {{target}} --online true`
|
|
|
|
- Enable live storage migration for local disks:
|
|
|
|
`qm migrate {{vm_id}} {{target}} --with-local-disks true`
|