Using the command line interface (CLI) : execute : execute restore all-settings
 
execute restore all-settings
This FortiDB CLI allows you to restore previously backed up your local database, FortiDB system-configuration settings, archives and reports.
Syntax
execute restore all-settings <ftp server> <filepath> <username> <password> [crptpasswd]
where:
Variable
Description
<ftp server>
IP address or hostname of FTP server.
<filepath>
Location of, and filename for, the settings file on the FTP server.
<username>
User name of account that logs on to the FTP server.
<password>
Password of account that logs on to the FTP server.
[crptpasswd]
Optional password for protecting the settings file on the FTP server.
 
This operation will replace your current settings and necessitate a reboot.
Example
execute restore all-settings <your_ftp_server> ./fdb_allbackup.dat <your_ftp_username> <your_ftp_password> myCrptpasswd
See also
config system backup all-setting
execute backup all-settings
show system backup all-settings
execute backup all-settings