FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
Abin_FTNT
Staff
Staff
Article Id 193606
Description
This article explains how to schedule remote configuration back up on FortiMail using FTP/SFTP.

Solution
Configuration GUI

Maintenance > System> Scheduled backup > Choose “Daily” or “These Days” & choose days of the week.  Choose ”At hour”: Schedule time for back up.

Enable check box 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.


Configuration CLI
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 configuration as mentioned above.

2) Make sure that the FTP/SFTP server is reachable (execute ping <ftp server ip>) from 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) FTP server user account must have 'write' permission to upload configuration files from FortiMail.

5) Check if Anti-virus or windows firewall running on server is blocking ftp access.

If assistance is required then the following data should be collected:

1) FortiMail latest 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    

Contributors