backup_config
Downloads and saves a FortiGate device's running configuration to a file on the MCP server host for backup, with optional VDOM scope and overwrite control.
Instructions
Download the running configuration and save it to a file on the MCP server host.
Parameters:
device_id: Identifier of the FortiGate device
output_path: Absolute file path to write (parent directory must exist)
scope: "global" (default, whole device) or "vdom"
overwrite: Replace an existing file (default false)
vdom: Virtual Domain name (optional)
Returns:
Saved path, size and line count
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| scope | No | Backup scope | global |
| device_id | Yes | FortiGate device identifier | |
| overwrite | No | Replace an existing file | |
| output_path | Yes | Absolute file path to write on the MCP host |