backup_create
Create a Docker Compose backup archive for all services or one service, with optional custom destination, remote server, and excluded host paths.
Instructions
Create a Docker compose backup archive for all services or one service. Volumes are read while the containers run, so a database mid-write can land inconsistent; an archive is not evidence it restores, which is what backup_drill answers
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": "backup_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Custom backup destination directory (optional) | |
| server | No | Remote server name from config (optional, runs locally if omitted) | |
| exclude | No | Host paths not to archive, covering bind mounts at or under each one. What was excluded is written into the archive manifest, so a later restore can tell a mount that was left out from one that never existed (optional) | |
| service | No | Specific service to back up (optional) |