Skip to main content
Abin_FTNT
Staff
Staff
April 26, 2016

Technical Tip: Scheduled remote configuration backup on FortiMail using FTP/SFTP

  • April 26, 2016
  • 0 replies
  • 4405 views

Description

 

This article describes how to schedule remote configuration backup on FortiMail using FTP/SFTP.


Solution

 
GUI configuration:

Go to Maintenance -> System -> Scheduled backup -> Choose 'Daily' or 'These Days' and choose days of the week. Choose 'At hour' and schedule a time for the backup.

Enable the checkbox for 'Remote backup' and enter FTP server details:

Protocol            FTP
Server name/IP      IP/name of the FTP server
User name           FTP server user name
Password            FTP server password
Remote directory    FTP server directory name in which backup files to be stored.

Screenshot 2026-02-25 095847.png

 

CLI configuration:
 
config system scheduled-backup
    set schedule daily
    set schedule-hour 16
    set destination remote
    set remote-host 172.26.73.18
    set remote-username user1
    set remote-password  iStcTlqff8hDuiY
    set remote-directory Backup
    set remote-protocol ftp
end

Verification of configuration and troubleshooting:
  1. Verify the configuration as described above.
  2. Make sure that the FTP/SFTP server is reachable (execute ping <ftp server ip>) from the FortiMail CLI.
  3. Verify FTP server access from FortiMail using 'execute telnet <ftp server ip>:21'. It should be possible to see the FTP server banner.
  4. The FTP server user account must have 'write' permissions to upload configuration files from FortiMail.
  5. Check if an Anti-virus or Windows Firewall running on the server is blocking FTP access.

If assistance is required, collect the following data:

  1. The latest FortiMail configuration file.
  2. Enable the following packet capture on the FortiMail and collect packets during the backup.

 

diagnose sniffer packet any 'host <ftp server ip>' 6 0 a