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, the FCConfig utility is located in the C:\Program Files (x86)\Fortinet\FortiClient> directory. In macOS, the fccconfig utility is located in the /Library/Application Support/Fortinet/FortiClient/bin directory.
The following commands are available for use. Note that
-i 1 is not available on macOS:
Switches and switch parameters are case-sensitive.
Backing up and restoring CLI commands are advanced configuration options.
fccconfig -f settings.xml -m all -o export exports the configuration as an XML file in the FortiClient directory.