FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
FortiZiq
Staff
Staff
Article Id 391929
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

Contributors