Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I recently installed the BackWPup plugin to my site, and it has been working fine, until recently when I changed servers, now it doesn't backup. I'm wondering if this is because I changed servers it perhaps have old information.
Can you tell me if I need to reset BackWPup? If the answer is yes, how do I reset this? Do need to deactivate?

Thanks for your help.

Annette

share|improve this question

1 Answer 1

up vote 0 down vote accepted

No, deactivating is not enough. A well coded plugin will normally delete its options/files when it is uninstalled.

Others, as an extra feature may offer this clean-up in its own page, but that's not common.
So, you'll need to deactivate, delete and install again.

This can be short-circuited inspecting the plugin's register_uninstall_hook or uninstall.php file, and executing the needed actions by your own.

In BackWPUp case, it's done via file, not hook. And in uninstall.php we can see that the following MySQL query is needed:

"DELETE FROM " . $wpdb->options . " WHERE option_name LIKE '%backwpup_%' "

$wpdb->options corresponds to your wp_prefix_options table. This is for a normal WP install, if you're running a Multisite, the table is $wpdb->sitemeta.

To test it out, run first in PHPMyAdmin:

SELECT * FROM wp_options WHERE option_name LIKE '%backwpup_%'

and then proceed to:

DELETE FROM wp_options WHERE option_name LIKE '%backwpup_%'
share|improve this answer
    
This helps a lot, thank you. –  Annette Taylor-Anderson Jun 20 '13 at 7:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.