Symptoms
Cannot restore Plesk backup using CLI:
# plesk bin pleskrestore --restore /var/lib/psa/dumps/domains/example.com/backup_example.com_info_1402032305.xml -level domains
Unable to decrypt backup. Specified key is not suitable.
Cause
Backup was created with password protection, but the password is not provided during restoration.
Resolution
Use
option to specify the password.
-backup-password
Example for Linux:
# plesk bin pleskrestore --restore /var/lib/psa/dumps/domains/example.com/backup_example.com_info_1402032305.xml -level domains -ignore-sign -backup-password 'password'
Example for Windows:
C:> plesk bin pleskrestore.exe --restore "C:example.com.zip" -ignore-sign -verbose -level domains -backup-password 'password'
Alternatively, restore the backup without password using -ignore-backup-password
option. But all the user passwords will be lost.
For more information, see the article.