Skip to main content
guptas
Staff
Staff
March 7, 2021

Technical Tip: How to get the configuration backup using auto script in desire folder using FTP

  • March 7, 2021
  • 0 replies
  • 4003 views

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: