pbs_prune
Prune old backup snapshots in Proxmox Backup Server by retention policy, with dry-run preview and confirm execution safety gates.
Instructions
MUTATION: prune backup snapshots per a retention policy. TWO safety gates: confirm (Proximo dry-run vs execute) AND dry_run (PBS-side preview). dry_run=True (default) only previews; dry_run=False DELETES recovery points (PLAN is HIGH, no undo). confirm=True to execute. Synchronous — returns prune decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ns | No | ||
| store | Yes | ||
| confirm | No | ||
| dry_run | No | ||
| backup_id | No | ||
| keep_last | No | ||
| keep_daily | No | ||
| backup_type | No | ||
| keep_weekly | No | ||
| keep_yearly | No | ||
| keep_monthly | No | ||
| 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 |