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)
| 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.
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.
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>
Once the configuration has been enabled, the restore/migrate process should be successful.
|




