Article ID: 115421, created on Jan 16, 2013, last review on Jun 3, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


When trying to restore a backup copied directly from a Plesk server, the process fails with the following error or warning (while hosting is not restored):

Wrong syntax for command's '-passwd' parameter.

Warning: domain ""
Execution of /opt/psa/admin/plib/api-cli/domain.php --update -guid 4314fea8-ef69-41ac-97da-e0828b95eff8 -creation-date 2012-08-05 -hosting true -hst_type phys -do-not-apply-skeleton -ip -www-root httpdocs -login example_com -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.


If secure passwords are enabled on the server, then passwords for the following user categories will be encrypted with reversible (symmetric) encryption using a server-specific key:

  • Control Panel users
  • Mail users
  • FTP users
  • Protected directory users
  • Database users

If such backup is copied "as is", a target server attempt to restore it will result either in numerous password-related errors or unexpected behavior.


1) If possible, export the backup – save it from the Plesk interface or upload it to an FTP repository. When you do this, the Plesk server will decrypt the passwords in order to make the backup portable.

2) If an export is not possible (for example, if the original server is down), then the only way to restore the backup is to replace all passwords of the "sym" type in the backup XML file with regular passwords.

In order to do that, you can use the utility from the archive. It is used in the following way:

    # find /var/lib/psa/dumps -name '*_info_1301112335.xml' -exec ./ '{}' \;

Note: Replace the above backup timestamp with that of the one you are trying to restore. Original XML files will be saved with a "~" suffix. Move all *.xml~ files to another location because they can prevent a restoration process (software issue PPPM-3140).

To get a list of new randomly generated passwords from such a backup, use the script from the same archive mentioned above. Example of usage:

    # ./ /var/lib/psa/dumps/backup_info_1301112335.xml

Search Words

Plesk doesn't recognize backup files

The Backup with Parallels ind the folder "/var/lib/psa/dumps/domains/" can't restore

Execution of /opt/psa/admin/plib/api-cli/mail.php --create -passwd '' -passwd_type sym -mailbox true -mbox_quota -1 -forwarding true -cp-access true -forwarding-addresses

Cannot restore backup

failed with return code 1


0a53c5a9ca65a74d37ef5c5eaeb55d7f 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 aea4cd7bfd353ad7a1341a257ad4724a 01bc4c8cf5b7f01f815a7ada004154a2 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF