execute > execute backup

execute backup

Use the following commands to manually back up system files to an FTP or TFTP server, as indicated:

TFTP is not secure, and it does not support authentication. You should run it only on trusted administrator-only networks, and never on computers directly connected to the Internet. Turn off tftpd off immediately after completing this procedure.

Syntax

execute backup config tftp <filename> <ipaddress>

execute backup full-config tftp <filename> <ipaddress>

execute backup full-config-file tftp <filename> <ipaddress>

execute backup isp-address tftp <filename> <ipaddress> [<password>]

execute backup log ftp <ipaddress>[:port] <ftp_user> <ftp_password> {event|attack|traffic|all} [dir]

<filename>

Name of the file to be used for the backup file, such as FortiADC_backup.conf.

<ipaddress>

IP address of the FTP/TFTP server.

<password>

Password for use when encrypting the backup file using 128-bit AES.

If you do not provide a password, the backup file will be stored as clear text.

<ipaddress>[:port]

IP address and optional port of the FTP server.

<ftp_user> <ftp_password>

FTP username and password.

{event|attack|traffic|all}

Specify the type of logs to back up.

[dir]

Optionally, specify a directory on the FTP server to copy the file.

Example

FortiADC-VM # execute backup config tftp config.test.txt 192.168.1.23

Connect to tftp server 192.168.1.23 ...

Please wait...

#

Send config file to tftp server OK.

 

FortiADC-VM # execute backup full-config tftp full-config.test.txt 192.168.1.23

Connect to tftp server 192.168.1.23 ...

Please wait...

#

Send config file to tftp server OK.

 

FortiADC-VM # execute backup full-config-file tftp full-config-file.tar 192.168.1.23

Connect to tftp server 192.168.1.23 ...

Please wait...

#

Send config file to tftp server OK.

 

FortiADC-VM # execute backup isp-address tftp isp-addr.txt 192.168.1.23

Connect to tftp server 192.168.1.23 ...

Please wait...

#

Send ISP address groups file to tftp server OK.

 

FortiADC-VM # execute backup log ftp 192.168.1.23 admin pass event

Connect to ftp server 192.168.1.23 ...

Please wait...