Here's a Fortinet link on how to save and restore config using revisions in a FortiGate firewall.
In FGT web GUI, click Profile name (upper right corner) > Configuration > Revision > Save Changes > optionally type a Comment.
The saved config includes all of the Virtual Domain (VDOM).
In FGT CLI, you use the execute revision list config and execute restore config flash commands. Just take note of the revision ID. The FGT will be rebooted in order to apply the config.
FGT# config global
FortiGate (global) # execute revision list config
Last Firmware Version: V0.0.0-build000-REL0
ID TIME ADMIN FIRMWARE VERSION COMMENT
1 2024-10-07 10:13:23 daemon_admin V7.2.x-build1xx-REL0 Automatic backup (upgrade)
2 2024-10-16 02:46:25 admin V7.2.x-buildxx-REL0 Automatic backup (logout)
<OUTPUT TRUNCATED>
27 2025-10-18 02:13:56 Admin-Full V7.2.x-buildxx-REL0 For CLI backup
FGT (global) # execute restore config flash
<revision> Revision ID on the flash.
FGT (global) # execute restore config flash 27


No comments:
Post a Comment