Back up and restore command line utility commands and syntax
Fortinet provides administrators the ability to import and export configurations via the CLI. The fcconfig utility can be run locally or remotely as the system user (or admin user) to import or export the configuration file. In Microsoft 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:
Switches and switch parameters are case sensitive. |
Backup and restore CLI commands are an advanced configuration option. |
The command fccconfig -f settings.xml -m all -o export
exports the configuration as an XML file in the FortiClient directory.