pbs_datastore_s3_refresh
Refreshes a PBS datastore's local cache from its S3 backend. Use confirm=True to execute the update; dry-run by default.
Instructions
MUTATION: refresh a datastore's contents from its S3 backend into the local cache store.
RISK_MEDIUM — the local cache is overwritten/reconciled from the remote object store, and the datastore passes through 's3-refresh' maintenance mode while the task runs. Dry-run by default; confirm=True executes (PUT /admin/datastore/{store}/s3-refresh, async — UPID; a null return records "ok"). No undo — the cache is rebuilt. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | S3-backed PBS datastore name to refresh. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the refresh. | |
| 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 |