execute backup
Use the following commands to manually back up system files to an FTP or TFTP server, as indicated.
• execute backup config—Create a backup of the configuration file. This backup is a text file that contains only user-specified configuration, not defaults. It is sent to a TFTP server.
• execute backup full-config—Create a backup of the configuration file. This backup is a text file that contains user-specified configuration and default configuration. It is sent to a TFTP server.
• execute backup full-config-file—Create a backup that inclues the configuration file (user-specified configuration and default configuration), plus some other type of files you have imported, including error page files, script files, and isp-address files. This backup is a tar file. It is sent to a TFTP server.
• execute backup isp-address—Create a backup of the ISP address book. It is sent to a TFTP server.
• execute backup log—Create a backup of logs. It is sent to an FTP server.
| 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...