execute restore configurations
Use this command to restore FortiDB system configuration settings that you backed up to an FTP server.
This command replaces the existing configuration with the restored configuration, deletes all alert and audit data, and restarts FortiDB.
Syntax
execute restore configurations <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 configuration 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 configuration file on the FTP server. |
This operation replaces your current configuration and requires you to reboot FortiDB |
Example
execute restore configurations 172.30.144.210 ./fdb-configurations.dat dzhang 123456 myCrptpasswd