Skip to main content
FortiZiq
Staff
Staff
May 15, 2025

Troubleshooting Tip: Unable to Restore/Migrate FortiManager/FortiAnalyzer Configuration with Error: Failed to restore all settings (private-data-encryption must be enabled with the same key)

  • May 15, 2025
  • 0 replies
  • 597 views
Description This article describes the troubleshooting steps to be taken when users encounter the error: Failed to restore all settings (private-data-encryption must be enabled with the same key).
Scope FortiManager, FortiAnalyzer.
Solution

Users may encounter failure when trying to restore or migrate the configuration backup into FortiManager or FortiAnalyzer.

 

restore_fail.png

 

To find why the restore/migrate fails, users can check the Alert Message Console widget under Dashboard -> Alert Message Console, or the Event Logs under System Settings -> Event Logs.

In the example below, the error message 'Failed to restore all settings (private-data-encryption must be enabled with the same key)' can be seen. 

 

error_message.png

 

This error message means that the configuration backup that was taken previously had the configuration 'private-data-encryption' enabled, while the current configuration does not have 'private-data-encryption' enabled (or it is enabled with an incorrect encryption key).

 

To enable this, enter the following command into FortiManager/FortiAnalyzer:

 

config system global

    set private-data-encryption enable

end

Please type your private data encryption key (32 hexadecimal numbers):

<private key>

Please re-enter your private data encryption key (32 hexadecimal numbers) again:

<private key>

 

enable_config.png

 

Once the configuration has been enabled, the restore/migrate process should be successful.

 

restore_success.png

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.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!