Unalbe to restore backup: Specified key is not suitable

Created:

2016-11-16 13:15:15 UTC

Modified:

2017-08-16 16:43:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unalbe to restore backup: Specified key is not suitable

Applicable to:

  • Plesk 11.x for Windows

Symptoms

Trying to restore backup using Plesk CLI, the following error is shown:

# /usr/local/psa/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 it is being restored without password.

Resolution

For the backups with a password protection, use -backup-password option to specify the password. You can also set the password with the environment variable PLESK_BACKUP_PASSWORD :

# /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/domains/example.com/backup_example.com_info_1402032305.xml -level domains -backup-password password

You can restore this backup without password from GUI, but all the user's passwords will be lost.

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