backup_config
Save the full FortiOS running configuration to a local file and return its path and size, enabling backup and recovery without transferring large config text.
Instructions
Back up the full running configuration (FortiOS CLI text) to a local file and return its path and size. Allowed in read-only mode. Configs are hundreds of KB, so the text itself is not returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| output_path | No | File to write (default ./fortigate-<hostname>-<timestamp>.conf) |