gateway_backup
Download a full Gateway backup (.gwbk) with projects, tags, configuration, and credentials; use dry_run to preview, then confirm=True to save and verify the archive.
Instructions
Download a full Gateway backup (.gwbk).
The archive includes projects, tags, Gateway configuration and credentials, so treat
the output as sensitive. It requires an administrator Gateway session; no API token
is required. Use dry_run to preview, then confirm=True to download.
Args:
output_path: Destination file or existing directory. Defaults to
backups/<gateway>_gateway_backup_<timestamp>.gwbk.
include_peer_local: Include peer-local data in a redundant pair.
confirm: Must be True to download.
dry_run: Preview the endpoint and destination without downloading.
Returns: Backup path, byte count and verification status.
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": "gateway_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| dry_run | No | ||
| output_path | No | ||
| include_peer_local | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||