- Plesk 11.x for Windows
- Plesk 11.x for Linux
- Plesk 12.0 for Windows
- Plesk 12.5 for Windows
Note: This article has the reference to the issue with the fix available:
- #PPPM-3752 "Support issue #PPPM-3752"
- Plesk Onyx 17.0 Release 15 November 2016
The backup restoration process finishes with the following errors:
CONFIG_TEXT: Execution of "C:\\Program Files (x86)\\Parallels\\Plesk\\bin\\user.exe" --create email@example.com -owner customer1 -guid e00aa2c5-f47f-1fe5-4134-436c5595c7c5 -cname firstname.lastname@example.org -passwd "" -passwd_type sym -status enabled -domain-admin false -role "Mail User" -for-all-subscriptions -ignore-nonexistent-options failed with return code 3.
Data error (cyclic redundancy check). (Error code 23) at BCryptDecrypt()
Also, in Plesk 12.5 the restoration may fail with the following error:
PLESK_ERROR: Error: Unable to decrypt data: Data error (cyclic redundancy check). (Error code 23) at BCryptDecrypt()
at (AesCryptProvider::decrypt line 143)
at (zif_plesk_symmetric_decrypt line 2365)
The restored backup was copied from another Plesk server's backup repository directly, without a proper export (usually by uploading to the FTP backup repository or downloading the backup file from the Plesk interface).
This results in presence of passwords encrypted with the original server's unique randomly generated key which cannot be decrypted by another Plesk server.
For Plesk 12.0 and earlier
If the source server is still available, it is recommended to download the backup from the Plesk interface or configure a
Personal FTP repository
and create a new backup to the repository. Both of these operations can be accomplished at the Tools & Settings > Backup Manager screen and, in both cases, the passwords will be properly decrypted in the backups.
If the source server is not available, the only choice is to replace all passwords in the XML files of the backup. Follow these instructions:
Download and unpack the attached script into the directory with the Plesk backup that is to be restored.
Open the administrator's command prompt and navigate to the same directory.
Once it is done, execute the following command:
C:\> for /r %x in (*.xml) do "%plesk_dir%\\Additional\\perl\\bin\\perl.exe" -p -i~ fix_sym_passwd.pl "%x"
The script will replace all encrypted passwords with randomly generated passwords, which will allow you to properly restore the backup.
NOTE : The script creates backup ( .xml~) of .xml files. Move all *.xml~ files to another location because they can block a restoration process (software issue PPPM-3140 ).
After the backup is restored, the following user classes will have their passwords reset and need to be updated:
* Control panel users
* Mail users
* FTP users
* Protected directory users
* Database users
For a fast mass update of passwords, use the Plesk password mass-reset script from this article: #213958025 .
For Plesk 12.5, apply this patch .
First, back up the original file
For example, rename it to "
Place the patch to that location.
This script will reset all the passwords during restoration. When the restoration finishes, the list of reset passwords will be provided in GUI. It will look like this:
The password was generated for user 'email@example.com'. New password is '********'
For Plesk 12.5 and higher versions, the internal request PPPM-3752 has been submitted in order to improve such restoration procedures.