pbs_datastore_update
Update a Proxmox Backup Server datastore's configuration with a dry-run plan. Set confirm=True to apply changes to comment, GC schedule, prune schedule, or notification mode.
Instructions
MUTATION (MEDIUM): update PBS datastore configuration. Dry-run by default.
CAPTURE: reads current config before planning; on read failure the plan is marked incomplete. Changing gc-schedule / prune-schedule affects data retention cluster-wide. No rollback primitive — revert by re-applying the captured config. confirm=True to execute. Use pbs_datastore_get to inspect current config, or pbs_datastore_delete to remove the datastore instead.
PUT /config/datastore/{name} Smoke-confirm: accepted param names (hyphenated vs underscored).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | PBS datastore name to update. | |
| comment | No | Free-text comment/description for the datastore. | |
| confirm | No | Set True to execute; False (default) only returns the dry-run plan. | |
| gc_schedule | No | Garbage-collection schedule as a PBS calendar-event string (e.g. 'daily'). | |
| 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. | |
| prune_schedule | No | Prune-job schedule as a PBS calendar-event string (e.g. 'daily'). | |
| notification_mode | No | Notification delivery mode for this datastore (PBS notification-mode value). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |