Prune backups by retention
prune_backupsApply a prune schedule to a Proxmox storage pool, specifying retention rules like keep-last, keep-daily, and keep-weekly to manage backup space.
Instructions
Apply a prune schedule (e.g. 'keep-last=7,keep-daily=14,keep-weekly=4') to a storage pool (Proxmox 8+).
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>",
"prune_backups": "<prune_backups>"
},
"name": "prune_backups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by content type (e.g. 'qemu', 'lxc') | |
| storage | Yes | Target storage pool | |
| prune_backups | Yes | Prune options (e.g. 'keep-last=7,keep-daily=14,keep-weekly=4') |