Created on 09-12-2023 01:47 AM Edited on 09-14-2023 02:01 AM By Jean-Philippe_P
Description
This article describes how to restore a FortiManager appliance following an RMA.
Scope
FortiManager.
Solution
Before starting the restore process, it is necessary to have an old FortiManager backup file from a previous device.
show system interface
The command outputs should be the same as below:
show system interface port1
config system interface
edit "port1"
set ip 192.168.1.99 255.255.255.0
set allowaccess ping https ssh http
next
end
To upgrade the firmware in the GUI:
The FortiManager uploads the firmware image file, upgrades to the new firmware version, and reboots. This will only take a few minutes.
show system interface
The command outputs should be the same as seen below:
show system interface port1
config system interface
edit "port1"
set ip 192.168.1.99 255.255.255.0
set allowaccess ping https ssh http
next
end
To restore the FortiManager configuration using the GUI:
To use the CLI to restore the FortiManager configuration, copy the configuration file to the FTP/SFTP/SCP root directory and execute the following command:
execute restore all-settings {ftp | sftp} <ip> <string> <username> <password> <crptpasswd>
execute restore all-settings <scp> <ip> <string> <username> <ssh-cert> <crptpasswd>
After restoring the FortiManager configuration, the below command can be run to reclaim the FGFM tunnel for FortiGates:
execute fgfm reclaim-dev-tunnel <device_name> force
If all the FGFM tunnels do not come up, change the FortiManager serial number manually on FortiGates by following the below process:
exe batch start
config system central-management
set type fortimanager
set fmg x.x.x.x <----- IP address or FQDN of the FortiManager.
set serial "FMG-Serial-Number" <----- The FortiGate will be unable to authenticate the FortiManager request if the Serial Number is not set.
end
exe batch end
If the FortiManager is running the FortiAnalyzer function, check the related article on how to migrate the Fortianalyzer that will cover the log-saving process.
Related documents:
Technical Tip: How to migrate a FortiAnalyzer logs and config to a new system
Technical Tip: How to restore a physical RAID storage with all logs on FortiAnalyzer
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.