Chapter 10 Install and System Administration for FortiOS 5.0 : Basic Administration : Configuration backups : Restoring a configuration
  
Restoring a configuration
Should you need to restore a configuration file, use the following steps:
To restore the FortiGate configuration - web-based manager
1. Go to System > Dashboard > Status.
2. On the System Information widget, select Restore for the System Configuration.
3. Select to upload the configuration file to be restored from your Local PC or a USB key.
The USB Disk option will be grayed out if no USB drive is inserted in the USB port. You can restore from the FortiManager using the CLI.
4. Enter the path and file name of the configuration file, or select Browse to locate the file.
5. Enter a password if required.
6. Select Restore.
To back up the FortiGate configuration - CLI
execute restore config management-station normal 0
… or …
execute restore config usb <filename> [<password>]
… or for FTP, note that port number, username are optional depending on the FTP site…
execute backup config ftp <backup_filename> <ftp_server> [<port>] [<user_name>] [<password>]
… or for TFTP …
execute backup config tftp <backup_filename> <tftp_server> <password>
The FortiGate unit will load the configuration file and restart. Once the restart has completed, verify that the configuration has been restored.
See Also
Configuration backups
Backup and restore a configuration file using SCP
Configuration revisions