Fortinet black logo

Handbook (HTML)

execute backup-remove fd-tcpdump

Copy Link
Copy Doc ID 73ac471a-9afd-11ea-8862-00505692583a:428409

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 on page 1.

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-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 on page 1.

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