pdm_pve_qemu_remote_migrate
Migrate a QEMU VM to a different PDM-registered datacenter. Plan migration with dry-run, then confirm to execute; optionally delete source VM after successful transfer.
Instructions
MUTATION: migrate a VM to a DIFFERENT PDM-registered remote (datacenter-to-datacenter).
For a container use pdm_pve_lxc_remote_migrate; for a same-cluster move use pdm_pve_qemu_migrate. target_bridge and target_storage mappings are required (e.g. 'vmbr0:vmbr0', 'local-lvm:local-lvm'). delete=True removes the source VM after a successful move (irreversible). Dry-run by default (PLAN); confirm=True submits and returns a PDM task reference — track it with pdm_tasks_list (pve_task_status cannot poll a PDM UPID).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | Numeric VMID of the VM to migrate, as a string. | |
| delete | No | True deletes source VM after successful move (irreversible). | |
| online | No | True live-migrates the VM; else it must be stopped. | |
| remote | Yes | PDM-registered remote (Proxmox cluster) currently hosting the VM. | |
| confirm | No | False (default) returns a PLAN only; True submits it. | |
| target_vmid | No | VMID on the destination; omit to keep same VMID. | |
| target_bridge | Yes | Source-to-target network bridge mapping, e.g. 'vmbr0:vmbr0'. | |
| target_remote | Yes | Destination PDM-registered remote (a different datacenter). | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. | |
| target_storage | Yes | Source-to-target storage mapping, e.g. 'local-lvm:local-lvm'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |