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.
Article Id 195879


This article describes how to create configuration revision and enable automatic backup on logout.





A useful feature of the FortiGate is to save and revert any configuration change.

Find the 'Configuration Revisions' option in the top-right drop-down menu on the logged in administrator:

When the FortiGate configuration has been modified, it is possible now to save the changes into a revision:
Afterwards, compare which changes have been made when marking two revisions and use the Diff Option:
It is also possible to see and revert to any saved revision from the past.

These will also be available after performing a factory reset, but a backup is necessary as well.
CLI command to find Revision ID: 

# execute revision list config


Once the ID is found, use the following command to load the old revision:


# execute restore config flash <Revision_ID>

A useful addition to this is to automate a revision backup after every logout, so it is possible to easily revert any unwanted changes.
This option is configurable from CLI:
# config system global
    set revision-backup-on-logout enable