FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
guptas
Staff
Staff
Article Id 194637

Description
This article explains the steps to configure auto script to get the configuration backup in desire folder using FTP.

Solution
Command syntax.

# config system auto-script
    edit backup
        set interval 0
        set repeat 1
        set start auto
        set script 'execute backup config ftp /<Folder-name>/<config-backup file name> <FTP server IP> <username> <password>'
        set output-size 10
    next
end

For example:

set script 'execute backup config ftp /sat/backup.conf 10.143.11.55 fortinet Test@123'

Once above configuration done, setup from GUI will appear:



 
 
 
 
The above screenshot shows that the correct configuration.
 
To test manually:
 
 
 
 
 
If the all folder is added in the configuration, then backup will be not move toe desire folder as below:
 
 




Contributors