Skip to content
A new version of FortiLogger is out.See what’s new

FortiGate Configuration Backup

Schedule FortiGate configuration backups: an API user with Super_Admin rights, SCP enabled, interval and time settings, and downloading or deleting backups.

Before you turn on FortiGate Configuration Backup, set up the FortiGate API connection.

Important

To take a complete backup, the user you set up the FortiGate API connection with must have the Super_Admin profile. Without Super_Admin privileges, permission restrictions prevent configuration backups from working correctly.

FortiGate Configuration Backup backs up your FortiGate device’s configuration at the interval you choose. Follow the steps below to set it up.

1 - Enable SCP

Configuration backups need SCP (Secure Copy Protocol) enabled in the FortiGate global settings. You can use the following commands:

FortiGate CLI Console enabling SCP with the set admin-scp enable command under config system global

2 - Configure the backup settings

On the Tools > Config Backup page, select the device you want to back up from the list on the left. If the SSH connection is not turned on in the device’s FortiGate API connection, the device appears disabled in the list; first turn on the SSH connection on the Device > FortiGate API Settings page.

  1. In the Select Backup Interval menu, set the Intervals (Daily, Weekly or Monthly) and the Bachup Hour (for example 02:00 - 03:00), then click Save / Select.
  2. Then click Start Config Backup Service to start the backup service.

While the service is running, the button reads Stop Backup Service and the selected interval cannot be changed; to change it, stop the service first.

Once the service is running, you can take a backup right away with Backup Now. If the service is not running, FortiLogger tells you to start the backup service first.

Select Backup Interval menu with interval and backup hour, Save / Select, and the Start Config Backup Service and Backup Now buttons

3 - View configuration backups

When you select a device, its backed-up configurations are listed in the table with the Date, File Name, Event and Status columns. Use the icons in the Action column to download a configuration (Single File Download) or delete it (Remove); you are asked to confirm before it is deleted.

Configuration backups table with Date, File Name, Event and Status columns and download and delete icons under Action

Configuration backup video

Was this page helpful?