WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: BackWPup] Doesn’t save all tables

[Resolved] [Plugin: BackWPup] Doesn’t save all tables

  • Hi thanks for plugin. I have in my wp database added 2 tables bymyself manually. When i’m creating new task plugin shows those tables ine xclude list, i uncheck them, but when i edit my task-it always shows as checked so tables are not backedup.

    and my tables do not have wp prefix..maybe this causes problems?

    http://wordpress.org/extend/plugins/backwpup/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve opened the options-jobs.php

    and deleted this

    `<tr valign=”top”>
    <th scope=”row”><label for=”dbexclude”><?PHP _e(‘Exclude Database Tables:’,’backwpup’); ?></label></th><td>
    <?php
    $tables=$wpdb->get_col(‘SHOW TABLES FROM '.DB_NAME.'‘);
    if (!isset($jobs[$jobid][‘dbexclude’])) { //def.
    foreach ($tables as $table) {
    if (substr($table,0,strlen($wpdb->prefix))!=$wpdb->prefix)
    $jobs[$jobid][‘dbexclude’][]=$table;
    }
    }
    foreach ($tables as $table) {
    if ($wpdb->backwpup_logs<>$table)
    echo ‘ <input class=”checkbox” type=”checkbox”‘.checked(in_array($table,(array)$jobs[$jobid][‘dbexclude’]),true,false).’ name=”dbexclude[]” value=”‘.$table.'”/> ‘.$table.”;
    }

    ?>
    </td></tr>`

    as i see it adds all tables that has no wp preffix. i also deleted

    options-save.php

    if (isset($_POST['dbexclude']))
    		$jobs[$jobid]['dbexclude']=array_unique((array)$_POST['dbexclude']);

    I have Fiexed it in the dev. version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: BackWPup] Doesn’t save all tables’ is closed to new replies.
Skip to toolbar