Unalbe to restore backup: "Specified key is not suitable"

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Windows
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:15:15 UTC

Modified:

2016-12-21 20:17:38 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unalbe to restore backup: "Specified key is not suitable"

Symptoms

When I am trying to restore backup using Plesk CLI, I am getting the following error:

/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 you are trying to restore it without password.

Resolution

If you used password protection for a backup, 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.