• Resolved MACscr

    (@macscr)


    (tried posting to your forum, but cloudflare didnt allow me to post to your forum and said I was blocked. Weird). Do table exclusions as defined below only work for cron style backups or should they work in all circumstances? if I click the backup button and run and run the backup, it appears to still try to backup the table i have marked for exclusion within the exclusions array. How can I correct this so that its always excluded with your tool?

    <?php
    
    /*
    Plugin Name: Updraft Exclusions
    */
    
    defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
    
    add_filter('updraftplus_backup_table', 'my_updraftplus_backup_table', 10, 5);
    function my_updraftplus_backup_table($go_ahead, $table, $table_prefix, $whichdb, $dbinfo) {
    	$tables_to_not_back_up = array('wp_relevanssi');
    	if (in_array($table, $tables_to_not_back_up)) return false;
    	return $go_ahead;
    }
    
    ?>
Viewing 1 replies (of 1 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    That filter should work for all backups.

    If possible, please could you send us a copy of the latest backup log?
    The contents will be too long to post here directly, but you can use an online service such as Pastebin and post the link here.

    For premium support, it is possible that your IP address was automatically blocked.
    You can attempt to unblock it here:
    https://updraftplus.com/unblock-ip-address/

Viewing 1 replies (of 1 total)
  • The topic ‘table not being excluded’ is closed to new replies.