pbs_snapshot_notes_set
Set custom notes on a PBS snapshot, replacing existing notes. Dry-run by default; set confirm=true to execute.
Instructions
MUTATION (LOW): annotate a PBS snapshot with notes. Dry-run by default.
CAPTURE: reads current notes before planning; on failure the plan is marked incomplete. Does not affect backup data, retention, or protection — to shield the snapshot from pruning/GC use pbs_snapshot_protected_set instead. No PBS snapshot primitive — revert by re-applying the captured notes. confirm=True to execute.
PUT /admin/datastore/{store}/notes Smoke-confirm: exact endpoint path + param names (backup-type, backup-id, backup-time).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ns | No | Namespace path the snapshot lives in; omit for the root namespace. | |
| notes | Yes | Free-text notes to attach to the snapshot, replacing any existing notes. | |
| store | Yes | PBS datastore name. | |
| confirm | No | Set True to execute; False (default) only returns the dry-run plan. | |
| backup_id | Yes | Backup group ID (e.g. VMID/CTID or host name). | |
| backup_time | Yes | Snapshot timestamp as a Unix epoch integer, identifying the exact backup run. | |
| backup_type | Yes | Backup type of the snapshot: 'vm', 'ct', or 'host'. | |
| 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 |