Restoration of transferred backup fails fails with return code 1

Created:

2016-11-16 13:00:23 UTC

Modified:

2017-04-24 12:00:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Restoration of transferred backup fails fails with return code 1

Applicable to:

  • Plesk

Symptoms

A backup has been moved from one server to another manually. As a result, the restoration fails with one of the following errors:

On mail account deployment:

WARNING:    (domain object 'domain.tld')    Failed deployment of mail user info@domain.tld

WARNING: () Execution of /opt/psa/admin/plib/api-cli/mail.php --create info@domain.tld -passwd '' -passwd_type sym -mailbox true -mbox_quota -1 -ignore-nonexistent-options failed with return code 1.

On updating domain settings:

WARNING:    (domain object 'domain.tld')    Execution of /opt/psa/admin/plib/api-cli/domain.php --update     domain.tld -guid 398af845-2674-4968-9c80-d8f7ba770df9 -creation-date 2014-02-21 -hosting true     -hst_type phys -do-not-apply-skeleton -ip 1.2.3.4 -www-root httpdocs -login johmannes -passwd     '' -passwd_type sym -shell /bin/bash -ignore-nonexistent-options failed with return code 1.

On database user deployment:

WARNING:    (database object 'johannes_mann_gotit') Failed deployment of database user admin_gotit     of database johannes_mann_gotit

WARNING: () Execution of /opt/psa/admin/plib/api-cli/database.php --update johannes_mann_gotit -add_user admin_gotit -server localhost:3306 -type mysql -print-id -default -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.

The following errors occur in deployer.log:

[2014-06-23 13:37:42.855|31200] INFO: ++ info@domain.tld mailname
[2014-06-23 13:37:42.855|31200] INFO: FailedMailuserDeployment[bc4ec0ad-ae8d-4f67-8608-4a4972ade907^@]: Failed deployment of mail user info@domain.tld [./mail_deploy.cpp:120]
virtual void plesk::tMailuserDeployer::act(const plesk::XmlNode&) const
Inner exception:
ExecCmd::ExFailed[3b2fcc1a-4b31-4ea7-891d-ab5de16cf398^@]: Execution of /opt/psa/admin/plib/api-cli/mail.php --create info@domain.tld -passwd '' -passwd_type sym -mailbox true -mbox_quota -1 -ignore-nonexistent-options
failed with return code 1.
[ExecCmd.cpp:64]
void plesk::ExecCmd::reportError() const

Cause

Passwords in backup file are encrypted with a key from another server, that is why the restoration fails.

Resolution

In order to transfer a backup from one Plesk server to another follow the steps described in Plesk documentation

Have more questions? Submit a request
Please sign in to leave a comment.