Using the command line interface (CLI) : execute : execute backup-remove fd-tcpdump
 
execute backup-remove fd-tcpdump
The execute backup-remove fd-tcpdump command allows you to export log files generated by tcpdump to a FTP site and then remove the files from the local disk. FortiDB compresses the files before it sends them to the specified FTP site.
For information on generating tcpdump files, see “diagnose tcpdump start|stop”.
Syntax
execute backup-remove fd-tcpdump <ftp server> <username> <password> [directory] [filename]
where:
Keywords and variables
Description
<ftp server>
IP address or hostname of the FTP server.
<username>
Username of FTP server account.
<password>
FTP server account password.
[directory]
Location on FTP server where you want to save the tcpdump file.
If you do not specify a directory, FortiDB uses the default directory.
[filename]
Username of FTP server account.
If you do not specify a name, the file name is fdb-tcpdump.tgz.
Example
execute backup fd-tcpdump <your_ftp_server> <your_ftp_username> <your_ftp_password>
See also
execute backup fd-tcpdump
diagnose tcpdump start|stop
diagnose tcpdump status