Preview backup pruning
proxmox_preview_backup_prunePreview which backups would be kept or removed by retention rules without deleting anything; run the prune action with the same arguments to apply.
Instructions
Dry run of pruning a backup storage: shows which backups the retention rules (the storage's own, or retention) would keep and which they would remove. Nothing is deleted; run proxmox_prune_backups with the same arguments to apply.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"storage": "<storage>"
},
"name": "proxmox_preview_backup_prune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Node to access the storage from (needed for node-local storages present on several nodes) | |
| type | No | Only VM or only container backups | |
| vmid | No | Only this guest's backups | |
| storage | Yes | Backup storage to prune | |
| retention | No | Retention to apply instead of the storage's configured prune-backups, e.g. {keep_last: 3} |