qm-remote-migrate
Migrate a Proxmox VM to a remote host or cluster
TLDR
SYNOPSIS
qm remote-migrate vmid target-vmid target-endpoint [OPTIONS]
DESCRIPTION
qm remote-migrate migrates a virtual machine from the local Proxmox VE cluster to a remote host or cluster over the Proxmox API. Unlike `qm migrate` (intra-cluster), remote migration uses an API token and host fingerprint for authentication and TLS verification.You must supply bridge and storage mapping so network and disks land on valid remote resources. Live migration (`--online`) moves a running guest with reduced downtime when the environments support it.
PARAMETERS
vmid
Source virtual machine ID on the local clustertarget-vmid
Destination VM ID on the remote cluster (may match source)target-endpoint
Remote connection string: API token, host, TLS fingerprint (optional port)--target-bridge bridge|1
Map network bridges; `1` keeps source bridge names--target-storage storage|1
Map storage; `1` keeps source storage names--online
Perform online/live migration for a running VM--delete 0|1
Remove the source VM after a successful migration--bwlimit kbps
Bandwidth limit for the transfer
CAVEATS
Requires a valid API token with sufficient privileges on the remote side and a matching TLS fingerprint. Network capacity and storage compatibility dominate transfer time. Test mappings carefully; wrong bridge/storage targets fail mid-migration. Treat API tokens as secrets.
HISTORY
Part of Proxmox VE QEMU/KVM management, enabling cross-cluster VM moves without shared cluster membership.
SEE ALSO
qm(1), qm-migrate(1), pvecm(1)