execute backup all-settings
The FortiDB CLI allows you to back up your local database to a FTP server.
After the backup is complete and the message “Transfer Finished” is displayed, press <enter> to return to the original prompt. |
Syntax
execute backup all-settings <ftp server> <filepath> <username> <password> [cryptpasswd]
where:
Keywords and variables | Description |
---|---|
<ftp server>
|
IP address or hostname of FTP server. |
<filepath>
|
Location on FTP server where you want the settings file to be placed. If you do not specify a name, the file name is |
<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. |
Example
execute backup all-settings <your_ftp_server> . <your_ftp_username> <your_ftp_password> myCrptpasswd