container_backup
Backs up the P5 container cold: commits a pre-update image, saves it, stops the container, archives the compose directory, and verifies checksums. Requires confirm:true; restart:true restarts it.
Instructions
Cold backup of the P5 container (docker inspect/diff, commit to -pre-update, docker save, STOP the container, tar the compose dir, SHA256SUMS, verify). Leaves the container stopped unless restart:true. Refused while a job runs unless force. Requires confirm:true; without it the steps are listed.
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": "container_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| confirm | No | Must be true to actually run | |
| restart | No | Start the container again afterwards |