pve_backup
Back up a Proxmox VM or LXC container with vzdump. Supports snapshot (online), suspend, or stop modes. Dry-run by default; set confirm=true to execute.
Instructions
MUTATION: back up a guest with vzdump. Dry-run by default; confirm=True to execute. mode: snapshot (online, brief) | suspend | stop (HALTS the guest). Async — returns a task UPID. This is a one-off run; for a recurring schedule use pve_backup_job_create instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Guest type: lxc or qemu. | lxc |
| mode | No | Backup mode: snapshot (online, brief) | suspend (RAM-quiesced pause) | stop (HALTS the guest). | snapshot |
| node | No | Proxmox node hosting the guest; defaults to the configured node if omitted. | |
| vmid | Yes | Numeric ID of the guest (VM or CT) to back up. | |
| confirm | No | Gate: false returns a dry-run PLAN, true executes the backup. | |
| storage | Yes | Storage ID to write the backup archive to. | |
| compress | No | Compression algorithm for the archive, e.g. zstd, gzip, lzo, or 0 (no compression). | zstd |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |