restore secondary-image
Use this command to install backup firmware on the secondary partition and reboot.
Unlike installing firmware via TFTP during a boot interrupt, installing firmware using this command will attempt to preserve settings and files, and not necessarily restore the FortiWeb appliance to its firmware/factory default configuration.
To use this command, your administrator account’s access control profile must have either
w or
rw permission to the
mntgrp area. For more information, see
“Permissions”.
Syntax
Variable | Description | Default |
<filename_str> | Type the name of the firmware image file. | No default. |
<ftp_ipv4> | Type the IP address of the FTP server. | No default. |
<tftp_ipv4> | Type the IP address of the TFTP server. | No default. |
Example
This example installs a firmware file named firmware.out from the TFTP server, 192.168.1.23, to the FortiWeb appliance.
execute restore secondary-image tftp firmware.out 192.168.1.23
The FortiWeb appliance downloads the firmware file, installs it, and reboots.
Related topics