To use the following procedure, you must have a TFTP or FTP server that FortiDB can connect to. You must also log in using the “admin” administrator account.
- Start the FTP or TFTP server.
- Copy the new firmware image file to the FTP or TFTP server.
- Log into the CLI.
- Verify that FortiDB can connect to the FTP or TFTP server. For example, if the IP address of the TFTP server is 192.168.1.168, enter the CLI command:
execute ping 192.168.1.168
- Enter the following command to copy the firmware image from the TFTP server to FortiDB:
execute restore image ftp
execute restore image tftp
Where is the name and location of the firmware image file and or is the IP address of the FTP or TFTP server. For example, if the firmware image file name is image.out and the IP address of the FTP or TFTP server is 192.168.1.168, enter:
execute restore image tftp image.out 192.168.1.168
FortiDB responds with the message:
This operation will replace the current firmware version!
Do you want to continue? (y/n)
- Type y. FortiDB downloads the firmware image file, upgrades to the new firmware version, and restarts. This process takes a few minutes.
- Reconnect to the CLI.
- To confirm the new firmware image is successfully installed, enter:
get system status