copalibre_backup
Creates a compressed database backup packet under backups/ and prunes older packets beyond a retention count; use it before risky operations.
Instructions
Creates a compressed backup packet of the database (pg_dump via the database-tools Compose service) under backups/, pruning older packets beyond the retention count. Use it before a risky operation or as part of a backup routine. Runs the same steps copalibre backup uses, including its Kubernetes-mode refusal; needs no API token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path within backups/; omit for a timestamped name | |
| retain | No | Most recent packets to keep; defaults to 5 | |
| dry_run | No |