Fortinet white logo
Fortinet white logo

CLI Reference

execute backup

execute backup

Back up the FortiProxy configuration files, logs, or IPS user-defined signatures file to a TFTP or FTP server, USB disk, or a management station. Management stations can either be a FortiManager unit, or FortiGuard Analysis and Management Service.

Back up the configuration to an FTP server

execute backup config ftp <file_name_and_path>

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

{<Enter> | <password>} Optional password to protect the backup content.

Back up the configuration to FortiManager (in backup mode)

execute backup config management-station <comment>

Back up the configuration to a TFTP server

execute backup config tftp <file_name_and_path> <IP_address_TFTP_server>

{<Enter> | <password>} Optional password to protect the backup content.

Back up the configuration to an external USB disk
execute backup config usb <file_name>
	{<Enter> | <password>}   Optional password to protect the backup content.
Specify a password for USB backups

The password is used to encrypt the backup and must be used to restore or view the configuration file.

execute backup config usb-mode Back up config file for USB mode.

{<Enter> | <password>} Optional password to protect the backup file.

Back up all log files to an FTP server

execute backup disk alllogs ftp Back up all log files to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up all log files to a TFTP server

execute backup disk alllogs tftp <IP_address_TFTP_server>

Back up all log files to an external USB disk

execute backup disk alllogs usb

Back up IPS archive files to a TFTP server

execute backup disk ipsarchives tftp <IP_address_TFTP_server>

Back up IPS archive files to an FTP server

execute backup disk ipsarchives ftp Back up IPS archive file(s) to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up IPS archive files to an external USB disk

execute backup disk ipsarchives usb

Back up specific log files to an FTP server

execute backup disk log ftp Back up specific log file(s) to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

<user> FTP user name

<password> FTP password.

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific log files to a TFTP server

execute backup disk log tftp <IP_address_TFTP_server>

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific log files to an external USB disk

execute backup disk log usb Back up specific log file(s) to USB.

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up the full configuration file to an FTP server

execute backup full-config ftp <file_name_and_path>

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

{<Enter> | <password>} Optional password to protect the backup content.

Back up the full configuration file to a TFTP server

execute backup full-config tftp <file_name_and_path> <IP_address_TFTP_server>

{<Enter> | <password>} Optional password to protect the backup content.

Back up the full configuration file to an external USB disk

execute backup full-config usb <file_name_and_path>

{<Enter> | <password>} Optional password to protect the backup content.

Specify a password for full configuration USB backups

execute backup full-config usb-mode Back up full config file for USB mode.

{<Enter> | <password>} Optional password to protect the backup file.

Back up user-defined IPS signatures to an FTP server

execute backup ipsuserdefsig ftp <file_name_and_path>

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up user-defined IPS signatures to a TFTP server

execute backup ipsuserdefsig tftp <file_name_and_path> <IP_address_TFTP_server>

Back up all memory logs to an FTP server

execute backup memory alllogs ftp Back up all log files to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up all memory logs to a TFTP server

execute backup memory alllogs tftp <IP_address_TFTP_server>

Back up specific memory log files to an FTP server

execute backup memory log ftp Back up specific log file(s) to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

<user> FTP user name <password> FTP password.

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific memory log files to a TFTP server

execute backup memory log tftp <IP_address_TFTP_server>

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific TLS fingerprinting information

execute backup tls-finger-print tftp <file_name_path_on_TFTP_server> <IP_address_TFTP_server>

{<Enter> | <user>} Optional password to protect the backup content.

Example

This example shows how to back up the FortiProxy unit system configuration to a file named fpy.cfg on a TFTP server at IP address 192.168.1.23.

execute backup config tftp fpy.cfg 192.168.1.23

execute backup

execute backup

Back up the FortiProxy configuration files, logs, or IPS user-defined signatures file to a TFTP or FTP server, USB disk, or a management station. Management stations can either be a FortiManager unit, or FortiGuard Analysis and Management Service.

Back up the configuration to an FTP server

execute backup config ftp <file_name_and_path>

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

{<Enter> | <password>} Optional password to protect the backup content.

Back up the configuration to FortiManager (in backup mode)

execute backup config management-station <comment>

Back up the configuration to a TFTP server

execute backup config tftp <file_name_and_path> <IP_address_TFTP_server>

{<Enter> | <password>} Optional password to protect the backup content.

Back up the configuration to an external USB disk
execute backup config usb <file_name>
	{<Enter> | <password>}   Optional password to protect the backup content.
Specify a password for USB backups

The password is used to encrypt the backup and must be used to restore or view the configuration file.

execute backup config usb-mode Back up config file for USB mode.

{<Enter> | <password>} Optional password to protect the backup file.

Back up all log files to an FTP server

execute backup disk alllogs ftp Back up all log files to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up all log files to a TFTP server

execute backup disk alllogs tftp <IP_address_TFTP_server>

Back up all log files to an external USB disk

execute backup disk alllogs usb

Back up IPS archive files to a TFTP server

execute backup disk ipsarchives tftp <IP_address_TFTP_server>

Back up IPS archive files to an FTP server

execute backup disk ipsarchives ftp Back up IPS archive file(s) to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up IPS archive files to an external USB disk

execute backup disk ipsarchives usb

Back up specific log files to an FTP server

execute backup disk log ftp Back up specific log file(s) to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

<user> FTP user name

<password> FTP password.

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific log files to a TFTP server

execute backup disk log tftp <IP_address_TFTP_server>

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific log files to an external USB disk

execute backup disk log usb Back up specific log file(s) to USB.

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up the full configuration file to an FTP server

execute backup full-config ftp <file_name_and_path>

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

{<Enter> | <password>} Optional password to protect the backup content.

Back up the full configuration file to a TFTP server

execute backup full-config tftp <file_name_and_path> <IP_address_TFTP_server>

{<Enter> | <password>} Optional password to protect the backup content.

Back up the full configuration file to an external USB disk

execute backup full-config usb <file_name_and_path>

{<Enter> | <password>} Optional password to protect the backup content.

Specify a password for full configuration USB backups

execute backup full-config usb-mode Back up full config file for USB mode.

{<Enter> | <password>} Optional password to protect the backup file.

Back up user-defined IPS signatures to an FTP server

execute backup ipsuserdefsig ftp <file_name_and_path>

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up user-defined IPS signatures to a TFTP server

execute backup ipsuserdefsig tftp <file_name_and_path> <IP_address_TFTP_server>

Back up all memory logs to an FTP server

execute backup memory alllogs ftp Back up all log files to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

{<Enter> | <user>} FTP user name may be needed.

<password> FTP password.

Back up all memory logs to a TFTP server

execute backup memory alllogs tftp <IP_address_TFTP_server>

Back up specific memory log files to an FTP server

execute backup memory log ftp Back up specific log file(s) to FTP server.

<ftp server>[:ftp port] FTP server IP or FQDN, can be attached with port.

<user> FTP user name <password> FTP password.

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific memory log files to a TFTP server

execute backup memory log tftp <IP_address_TFTP_server>

<string> , traffic, event, virus, webfilter, ips, emailfilter, anomaly, voip, dlp, app-ctrl, waf, dns, ssh

Back up specific TLS fingerprinting information

execute backup tls-finger-print tftp <file_name_path_on_TFTP_server> <IP_address_TFTP_server>

{<Enter> | <user>} Optional password to protect the backup content.

Example

This example shows how to back up the FortiProxy unit system configuration to a file named fpy.cfg on a TFTP server at IP address 192.168.1.23.

execute backup config tftp fpy.cfg 192.168.1.23