pbs_protect_snapshot
Set or clear the protected flag on a backup snapshot to prevent pruning or accidental deletion until you remove protection. Must confirm to apply.
Instructions
Set or clear the protected flag on one snapshot. Protected snapshots are skipped by prune and cannot be forgotten until unprotected. Requires PBS_ALLOW_WRITE=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |