pbs_tape_pool_create
Create a new PBS tape media pool for managing backup tapes, with optional encryption, retention policies, and media set allocation. Supports dry-run planning before execution.
Instructions
MUTATION: create a PBS tape media pool.
RISK_LOW: additive — no existing pool/drive/changer/job config is affected. Dry-run by default (returns a PLAN); confirm=True executes (POST /config/media-pool, synchronous — PBS returns null) and returns {"status": "ok", "result": None}. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New media pool name (2-32 chars, alnum/underscore start, then alnum/./_/-). | |
| comment | No | Optional comment (no control characters, <=128 chars). | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the creation. | |
| encrypt | No | Optional tape encryption key fingerprint (32 colon-separated hex byte-pairs) — future writes into this pool are encrypted with it. | |
| template | No | Media set naming template (may contain strftime() specs, 2-64 chars). | |
| retention | No | Media retention policy: 'overwrite', 'keep', or a time span. | |
| allocation | No | Media set allocation policy: 'continue', 'always', or a calendar event. | |
| 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 |