config_backup
Back up a switch's masked running-config to a dated file with SHA256 and a diff against the previous backup, so you can track configuration changes over time.
Instructions
Store the masked running-config under SWITCH_BACKUP_DIR as YYYY-MM-DD_HHMM_running[_tag].cfg; returns path, SHA256 and the diff to the previous running backup. source='startup' is not available on this device. Like config_read, a slow dump answers 'Pending' first.
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": "config_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| source | No | running |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |