took a copy of the backup then wiped a server, reinstalled plesk, trying to restore from backup and get the below errors.
I think I need to edit the .xml files in the /var/lib/psa/dumps to change some passwords to force the restore through, however the passwords are stored in the XML as encrypted so how can I best do this?
Example of Errors below with private things changed, please help asap
The mailboxes not so important but I need a way to get the databases back up and running ideally with same passwords as before
Error:
Execution of /opt/psa/admin/plib/api-cli/mail.php --create [email protected] -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:[email protected] -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occured during mailname creation: Can't create mailname:
Wrong syntax for command's '-passwd' parameter.
Error: database "dbname"
Failed deployment of database user usernof database dbname
Error:
Execution of /opt/psa/admin/plib/api-cli/database.php --update databasenme-add_user uname-type mysql -print-id -default -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.
Error: domain "domain.com"
Failed deployment of mail user [email protected]
Error:
Execution of /opt/psa/admin/plib/api-cli/mail.php --create [email protected] -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:[email protected] -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occured during mailname creation: Can't create mailname:
Wrong syntax for command's '-passwd' parameter.
Error: domain "domain.com"
Execution of /opt/psa/admin/plib/api-cli/domain.php --update domain.com -guid 284aaf06-76fa-42ff-9cb3-23ed37429e06 -vendor-guid 843b78d2-0749-4635-9fcc-d20563309eed -creation-date 2012-08-04 -hosting true -hst_type phys -do-not-apply-skeleton -ip 1.1.1.1 -www-root httpdocs -login siteusername-passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.
Error: database "db_t"
Failed deployment of database user user_t of database db_t
Error:
Execution of /opt/psa/admin/plib/api-cli/database.php --update db_t -add_user user_t -type mysql -print-id -default -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.
I think I need to edit the .xml files in the /var/lib/psa/dumps to change some passwords to force the restore through, however the passwords are stored in the XML as encrypted so how can I best do this?
Example of Errors below with private things changed, please help asap
The mailboxes not so important but I need a way to get the databases back up and running ideally with same passwords as before
Error:
Execution of /opt/psa/admin/plib/api-cli/mail.php --create [email protected] -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:[email protected] -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occured during mailname creation: Can't create mailname:
Wrong syntax for command's '-passwd' parameter.
Error: database "dbname"
Failed deployment of database user usernof database dbname
Error:
Execution of /opt/psa/admin/plib/api-cli/database.php --update databasenme-add_user uname-type mysql -print-id -default -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.
Error: domain "domain.com"
Failed deployment of mail user [email protected]
Error:
Execution of /opt/psa/admin/plib/api-cli/mail.php --create [email protected] -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:[email protected] -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occured during mailname creation: Can't create mailname:
Wrong syntax for command's '-passwd' parameter.
Error: domain "domain.com"
Execution of /opt/psa/admin/plib/api-cli/domain.php --update domain.com -guid 284aaf06-76fa-42ff-9cb3-23ed37429e06 -vendor-guid 843b78d2-0749-4635-9fcc-d20563309eed -creation-date 2012-08-04 -hosting true -hst_type phys -do-not-apply-skeleton -ip 1.1.1.1 -www-root httpdocs -login siteusername-passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.
Error: database "db_t"
Failed deployment of database user user_t of database db_t
Error:
Execution of /opt/psa/admin/plib/api-cli/database.php --update db_t -add_user user_t -type mysql -print-id -default -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.