db_backup
Create database backups for PostgreSQL, MySQL, and SQLite using native dump tools, with output paths sandboxed to a designated backup directory.
Instructions
Create a database backup.
PostgreSQL: uses pg_dump
MySQL: uses mysqldump
SQLite: uses .backup via sqlite3 CLI
Paths are sandboxed to BERTH_BACKUP_DIR (default: cwd).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection_id": "<connection_id>",
"output_path": "<output_path>"
},
"name": "db_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |