restore image
Use this command to restore a firmware file from an FTP, SCP, or TFTP server.
Back up your configuration before entering this command. This procedure can perform large changes to your configuration, including, if you are downgrading the firmware, resetting all changes that you have made to the FortiMail unit’s configuration file and reverting the system to the default values for the firmware version, including factory default settings for the IP addresses of network interfaces. For information on creating a backup, see the FortiMail Administration Guide. |
Syntax
execute restore image {ftp|scp|tftp <filename_str> <server_ipv4> <user><password>
Variable |
Description |
Default |
Enter the name of the firmware file backup file. |
|
|
Enter the IP address of the server. |
|
|
You may need to enter the credentials to log on to the server. |
|
Example
This example restores firmware file FE_2000A-v300-build397-FORTINET.out, which is stored on the TFTP server 192.168.1.20.
execute restore image tftp FE_2000A-v300-build397-FORTINET.out 192.168.1.20
The CLI displays the following:
This operation will replace the current firmware version!
Do you want to continue? (y/n)
After you enter y
(yes), the CLI displays the following:
Connect to tftp server 192.168.1.20 ...
Please wait...
########################
Get image from tftp server OK.
Check image OK.