Upgrading the firmware via the CLI

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.

  1. Start the FTP or TFTP server.
  2. Copy the new firmware image file to the FTP or TFTP server.
  3. Log into the CLI.
  4. 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
    
  5. Enter the following command to copy the firmware image from the TFTP server to FortiDB:
    execute restore image ftp <filename> <ftp_ip>
    execute restore image tftp <filename> <tftp_ip>
    
    Where <filename> is the name and location of the firmware image file and <ftp_ip> or <tftp_ip> 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)
    
  6. Type y. FortiDB downloads the firmware image file, upgrades to the new firmware version, and restarts. This process takes a few minutes.
  7. Reconnect to the CLI.
  8. To confirm the new firmware image is successfully installed, enter:
    get system status
    
Related concepts
Backing up your data and configuration
Installing FortiDB Firmware
Related information
Updating the Firmware



FortiDB 5.0.0 Handbook
1st Edition , July 11 2013
© Copyright 2013 Fortinet Inc. All rights reserved.
Latest documentation: http://docs.fortinet.com/fdb.html