• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs WordPress Toolkit: unable to restore a backup when table prefix is changed via Security Measures

Maarten

Golden Pleskian
Plesk Guru
Username:

TITLE

WordPress Toolkit: unable to restore a backup when table prefix is changed via Security Measures

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.41 Update #1

WordPress Toolkit
Version 5.9.3-6032

PROBLEM DESCRIPTION

When you start managing an existing WP website in WP Toolkit, you run into issues when you create a backup using the WP Toolkit and next apply the security measures like "Change default database table prefix".
If you want to restore the backup, it seems to be impossible:
"Failed to restore site from backup
  • Error: The site you have requested is not installed.
  • Your table prefix is 'wp_'. Found installation with table prefix: xxxxx_."
This is odd, as the info icon next to "Change default database table prefix" warns you to create a backup before you apply the security measures:
"Note that changing database prefix on a website with production data might be dangerous, so it is strongly advised to back up your website before applying this measure."

STEPS TO REPRODUCE

- Scan for an existing WP website using the WP Toolkit (check if it uses the wp_ prefix in the database)
- Create a backup using the WP Toolkit
- Apply the security measure "Change default database table prefix"
- Try to restore the backup using the WP Toolkit

ACTUAL RESULT

You get an error and the website is broken:

"Failed to restore site from backup
  • Error: The site you have requested is not installed.
  • Your table prefix is 'wp_'. Found installation with table prefix: xxxxx_."

EXPECTED RESULT

The expected result is that the backup is restored.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Back
Top