Create a backup
mikrotik_backupSave a binary backup and optional text export of a MikroTik router configuration to its file system for recovery, migration, or auditing.
Instructions
Save a binary backup (.backup) and/or a text export (.rsc) of the configuration to the router's file system.
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": "mikrotik_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Base file name (default: mcp-backup-<timestamp>) | |
| device | No | Name of the configured device. Defaults to the first device (see mikrotik_list_devices). | |
| password | No | Encrypt the binary backup with this password | |
| exportScript | No | Also write a text export (<name>.rsc) |