Create Backup
create_backupCreates a binary MikroTik router configuration backup file, optionally encrypted with a bound secret, and supports dry-run preview before writing to the router filesystem.
Instructions
Create a binary configuration backup on a MikroTik router. The backup is saved as .backup on the router's filesystem. To encrypt it, prefer passwordSecret (a MIKROMCP_SECRET_ bound to the router in routers.yaml — the password never reaches the conversation) over a literal password. Dry run checks that the secret resolves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Backup file name (without extension) | backup |
| dryRun | No | Preview the backup without creating it | |
| password | No | Literal password to encrypt the backup. It stays in the conversation history; prefer passwordSecret | |
| routerId | No | Router ID; omit to use the default router. | |
| passwordSecret | No | Encrypt with the server's MIKROMCP_SECRET_<NAME> value, bound to this router by its secrets list in routers.yaml. The value never reaches the conversation | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |