Chapter 10 Install and System Administration for FortiOS 5.0 : Basic Administration : Firmware : Backup and Restore from a USB key
  
Backup and Restore from a USB key
Use a USB key to either backup a configuration file or restore a configuration file. You should always make sure a USB key is properly install before proceeding since the FortiGate unit must recognize that the key is installed in its USB port.
You can only save VPN certificates if you encrypt the file. Make sure the configuration encryption is enabled so you can save the VPN certificates with the configuration file. An encrypted file is ineffective if selected for the USB Auto‑Install feature.
To backup configuration using the CLI
1. Log into the CLI.
2. Enter the following command to backup the configuration files:
exec backup config usb <filename>
3. Enter the following command to check the configuration files are on the key:
exec usb-disk list
To restore configuration using the CLI
1. Log into the CLI.
2. Enter the following command to restore the configuration files:
exec restore image usb <filename>
The FortiGate unit responds with the following message:
This operation will replace the current firmware version!
Do you want to continue? (y/n)
3. Type y.
4.