Description | This article describes how to troubleshoot if it is not possible to backup config to the FTP server |
Scope | FortiGate |
Solution |
To backup config to the FTP server, use this link: Technical Tip: Backup of configuration file from CLI using FTP
The issue will be based on this setup: FortiGate 10.14.2.159 ---- FTP server 10.14.2.116
To backup the config to FTP we run the following command:
execute backup config ftp <filename> <ftp server>[:ftp port] <username> <password>
Follow this kb article if the error code is 5 for error code 12: Troubleshooting Tip: Unable to backup FortiGate config to external FTP server: 'Send config file to ...
Send config file to ftp server via vdom root failed.
diag sniffer packet any 'host <FTP IP>' 4 0 l
This issue now lies on the server side and It is necessary to check the server end to allow the connection through.
Note: Enable Inbound connection rules if the server is hosted on a Windows OS. |