Skip to main content
mdeparisse_FTNT
Staff
Staff
October 15, 2024

Technical Tip: How to factory reset or fresh install FortiManager/FortiAnalyzer and restore the Backup file

  • October 15, 2024
  • 0 replies
  • 5236 views
Description

This article describes how to re initialize or factory reset a FortiManager or FortiAnalyzer.

The article also describes how to re-deploy a fresh new FortiManager or FortiAnalyzer device and format the boot device which will delete old OS system-level files.

Scope FortiManager, FortiAnalyzer.
Solution

The FortiManager backup configuration must ONLY be restored on a system with a factory default configuration, and running the same firmware version and VM Hardware type as the previously used system.

'Migrate from a different platform' is available starting with FortiManager v7.4.3. See the release notes for more information.

 

Steps:

  1. Take a backup or make sure to have a valid backup to use to restore to a previously known working state: For this, navigate to Dashboard and select 'backup' in the System Information widget.

 

save_main.png

 

save_zoom.png

 

Enter a password if needed (starting v7.4.2 and later encrypted password is mandatory for system backup) to protect the system backup and save it to the local PC:

 

backup_password.png

 

  1. Use the following two commands, in this particular order, to reset or wipe a FortiManager to the factory default configuration:

 

exe reset all-except-ip

 

Press 'y'.

 

reset_window.png

Wait for the system to restart and format the disk (this will not delete the OS or system-level files. To delete them proceed to re-deploy the fresh copy section in this article):

 

exe format disk

 

format_disk.png

 

Note: For the hardware devices, install the desired firmware using TFTP before going to the next step.

  1. Restore a backup configuration file:

 

restore_main.png

 

restore_load.png

 

  1. Configure the FortiManager system to be online to re-established the management tunnel(s):

 

Using CLI command:

 

config system admin setting
    set offline_mode disable
end

 

Or GUI:

 

off_line.png

 

  1. Allow a few hours for the FortiManager to re-download the FortiGuard service packages (Web database, Antivirus Package, AntiSpam, IPS packages, IOCs).

 

To re-deploy a fresh copy of FortiManager/FortiAnalyzer VMs:

 

Follow the deployment section in the admin guide corresponding to the virtual environment used.

 

For example: for VMWare, follow this document: About FortiManager on VMware ESXi.

 

Make sure of minimum system requirements and the correct guide based on the Firmware version being used.

 

To re-deploy a fresh copy of FortiManager/FortiAnalyzer hardware devices:

 

Follow the steps in the following community article and before step (6) choose [F] from the configuration menu to format the boot device. Once formatted, proceed from step (6) to the rest of the steps up to step (11). Once the firmware is installed, the device will reboot and the backup can be restored or reconfigured from scratch. See this article: Technical Tip: How to recover access to FortiManager or FortiAnalyzer when the admin password is lost on Hardware Products.

 

Related articles:

Technical Tip: FortiManager system upgrade, downgrade, and configuration restore information

Technical Tip: How to recover access to FortiManager or FortiAnalyzer when the admin password is lost on Hardware Products

Technical Tip: Upgrading FortiManager/FortiAnalyzer

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.