When you try to restore a Plesk Panel backup on the server, the restore is not done and you receive the following error message in the GUI:
Deployer has been terminated by exception: boost::filesystem::create_directory: The filename, directory name, or volume label syntax is incorrect: "C:\Inetpub\vhosts\<domain name>\C:"
The path can vary from server to server, but the disk label (like C:) is repeated twice.
In order to detect the number of incorrect rows in the database, run the following command:
"%plesk_bin%"\dbclient --direct-sql --sql="select count(*) from sys_users where home like '%//%'"
If this count is not 0, you will need to perform the following set of actions:
Back up the
sys_userstable for the current psa database:
mysqldump -uadmin -p<password> -P8306 psa sys_users > c:\psasysusers.dump
Your Plesk Panel might be using a non-standard psa database (for example, psa2). You can check this information in the Registry.
c:\psasysusers.dumpin WordPad and replace all
sys_usersfrom the resulting file:
mysql -uadmin -p<password> -P8306 psa < c:\psasysusers.dump`
After that, you will need to perform another Plesk backup and the error will be gone when you will try to restore the newly created backup.
MySQL commands should be run from the following folder: