Articles in this section

Unable to restore Plesk backup in CLI: Specified key is not suitable

Plesk for Windows Plesk for Linux kb: technical ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

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 -backup-password option to specify the 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.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.