CmdID

CmdID / Commands

qm-remote-migrate

Migrate a virtual machine to a remote Proxmox host or cluster. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Migrate a VM to a remote host

qm remote-migrate vmid target_vmid 'apitoken=PVEAPIToken=user@realm!token=secret,host=address,fingerprint=fingerprint' --target-bridge bridge --target-storage storageIdentify

Migrate a running VM with live migration

qm remote-migrate vmid target_vmid 'apitoken=PVEAPIToken=user@realm!token=secret,host=address,fingerprint=fingerprint' --target-bridge bridge --target-storage storage --onlineIdentify

Delete the source VM after a successful migration

qm remote-migrate vmid target_vmid 'apitoken=PVEAPIToken=user@realm!token=secret,host=address,fingerprint=fingerprint' --target-bridge bridge --target-storage storage --delete 1Identify

Limit migration bandwidth

qm remote-migrate vmid target_vmid 'apitoken=PVEAPIToken=user@realm!token=secret,host=address,fingerprint=fingerprint' --target-bridge bridge --target-storage storage --bwlimit valueIdentify

Use the same bridge and storage names on the target

qm remote-migrate vmid target_vmid 'apitoken=PVEAPIToken=user@realm!token=secret,host=address,fingerprint=fingerprint' --target-bridge 1 --target-storage 1Identify

Connect to a remote API on a custom port

qm remote-migrate vmid target_vmid 'apitoken=PVEAPIToken=user@realm!token=secret,host=address,fingerprint=fingerprint,port=porta' --target-bridge bridge --target-storage storageIdentify