create_backup
Back up a Proxmox VM or container via vzdump, with options for storage, mode (snapshot/suspend/stop), compression, and notes.
Instructions
Create a backup (vzdump) of a VM or container.
Args: vmid: The numeric ID of the VM or container to back up. storage_name: Target storage for the backup (default 'local'). mode: Backup mode: 'snapshot' (no downtime, default), 'suspend', or 'stop'. compress: Compression: 'zstd' (default), 'lzo', 'gzip', or '0' (none). notes: Optional notes/description for the backup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | snapshot | |
| vmid | Yes | ||
| notes | No | ||
| compress | No | zstd | |
| storage_name | No | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |