pbs_tape_drive_catalog
Catalog a tape drive's media by scanning and recording contents into the local PBS database. Supports force override and full scan.
Instructions
MUTATION: scan a drive's mounted media and (re)record its content into the local PBS catalog database.
RISK_MEDIUM: reads (does not modify) the tape; writes/updates local catalog metadata — force=True overrides an existing index, scan=True can tie up the drive for the full tape read. Dry-run by default (returns a PLAN); confirm=True executes (POST /tape/drive/{drive}/catalog) and returns {"status": "submitted", "result": ""}. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan | No | Re-read the whole tape to reconstruct the catalog, instead of restoring saved catalog versions. | |
| drive | Yes | Drive identifier. | |
| force | No | Force overriding an existing catalog index for this media. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the catalog scan. | |
| verbose | No | Verbose mode — log all found chunks. | |
| 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 |