Use this command to restore the configuration from a configuration backup file on an TFTP server, or to install primary or backup firmware.
|Back up the configuration before restoring the configuration. This command restores configuration changes only, and does not affect settings that remain at their default values. Default values may vary by firmware version. For backup commands, see 。2backup cli-config and backup full-config.|
To use this command, your administrator account’s access control profile must have either
rw permission to the
mntgrp area. For details, see Permissions.
execute restore config tftp <filename_str> <tftp_ipv4> [<password_str>]
Enter the name of the backup or firmware image file.
Enter the IP address of the TFTP server.
Enter the password that was used to encrypt the backup file, if any.
If you do not provide a password, the backup file must have been stored as a clear file with a
This example downloads a configuration file named
backup.zip from the TFTP server,
192.0.2.23, to the FortiWeb appliance. The backup file was encrypted with the password
execute restore config tftp backup.zip 192.0.2.23 P@ssword1
The FortiWeb appliance then applies the configuration backup and reboots.