Failed to restore the remote database for security reasons

Created:

2016-11-16 13:18:49 UTC

Modified:

2017-08-08 13:38:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Failed to restore the remote database for security reasons

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Symptoms

Plesk restoration failed:

Failed to restore the remote database DB_NAME (domain example.com). It cannot be restored for security reasons. Please contact your hosting provider to solve this issue

Cause

Database already exists.

Resolution

Ensure that the database is not used by another user/domain/subscription.

If it is not used:

  1. Backup database:

    # mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` DB_NAME > DB_NAME.dump.`date +%F.%s`.sql
  2. Remove it:

    mysql> drop database DB_NAME;
  3. Repeat domain restoration.

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