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”.
execute backup-remove fd-tcpdump <ftp server> <username> <password> [directory] [filename]
Keywords and variables
<ftp server>
IP address or hostname of the FTP server.
Username of FTP server account.
FTP server account password.
Location on FTP server where you want to save the tcpdump file.
If you do not specify a directory, FortiDB uses the default directory.
Username of FTP server account.
If you do not specify a name, the file name is fdb-tcpdump.tgz.
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