create_stack_restore_point
Take a restore point of a stack now (the twin of ankra cluster stacks restore-points create, and what 'back up shop now' means). It opens a backup run; watch it with get_data_run. The result carries not_carried - what the capture will not take - so report that rather than implying everything was copied. On a CloudNativePG stack whose Clusters do not carry the barman-cloud archiver its backup policy adds yet, it adds it first, which restarts the database instances one at a time (a brief primary failover); say so before confirming. Requires backups.operate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Short note recorded with the restore point, e.g. why it was taken. | |
| vault_id | No | Backup vault id or name to write to. Omit to use the stack's protected vault, or the organisation's only ready one. | |
| databases | No | Whether the stack's databases are captured. Setting it to false means the restore points carry no database contents at all. Naming it at all makes the selection explicit, so pair it with persistent_volume_claims unless you mean to capture the databases alone. | |
| cluster_id | No | UUID of the cluster. Alternative to cluster_name. | |
| stack_name | Yes | The stack to capture. | |
| cluster_name | No | Exact name of the cluster. Optional when a cluster is already selected in the conversation. | |
| persistent_volume_claims | No | Names of the persistent volume claims to capture, from list_stack_data_assets. A selection is applied WHOLE, not merged with the stack's stored one: naming none of them captures no volumes at all. Send no selection (no databases, no persistent_volume_claims) to keep the stack's stored policy. |