• Resolved mzah8

    (@mzah8)


    Hello, I’m on the free UpdraftPlus!

    I’m trying to exclude tables from backup with the code snippet from the FAQs. I am following along the instructions at https://teamupdraft.com/documentation/updraftplus/topics/backing-up/faqs/how-can-i-exclude-a-specific-table-from-the-backup/

    I am familiar enough with WP and PHP code, but I just need a bit more assurance before going ahead.

    My question: In the example snippet…

    function my_updraftplus_backup_table($go_ahead, $table, $table_prefix, $whichdb, $dbinfo)

    Do I need to change any of the parameters here at all, assuming I’m good with the defaults? As the documentations mentions how to use $whichdb and $dbinfo

    Otherwise, I understand that in this line, I can put in the names of the tables I want to exclude into the array:

    $tables_to_not_back_up = array('wp_my_table', 'wp_some_other_table');

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support nrobertsudp

    (@nrobertsudp)

    Hi there,

    Thank you for your question.

    I can confirm you’re fine with the defaults and excluding tables as you’ve described.

    Best regards,

    Nick

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.