execute : restore secondary-image
 
restore secondary-image
Use this command to install backup firmware on the secondary partition and reboot.
 
Back up the configuration before installing new firmware. Installing new firmware can change default settings and reset settings that are incompatible with the new version. For backup commands, see “execute backup full-config” and “execute backup cli-config”.
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
execute restore secondary-image ftp <filename_str> <ftp_ipv4>
execute restore secondary-image tftp <filename_str> <tftp_ipv4>
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
execute backup cli-config
execute backup full-config
execute restore config
execute restore image
diagnose system flash
get system status