• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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