Backing up and restoring CLI utility commands and syntax
Fortinet provides administrators the ability to import and export configurations via the CLI. The system or admin user can run the FCConfig utility for Windows or the fcconfig utility for macOS locally or remotely to import or export the configuration file. In Windows, you can find the FCConfig utility in the C:\Program Files (x86)\Fortinet\FortiClient>
directory. In macOS, you can find the fccconfig utility in the /Library/Application Support/Fortinet/FortiClient/bin
directory.
The following commands are available for use. -i 1
is not available on macOS:
Switches and switch parameters are case-sensitive. |
Backing up and restoring CLI commands are advanced configuration options. |
The command fccconfig -f settings.xml -m all -o export
exports the configuration as an XML file in the FortiClient directory.