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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "copalibre_backup"
}
}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 |