Excluding tables from backup using code snippet – parameters
-
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
$whichdband$dbinfoOtherwise, 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!
You must be logged in to reply to this topic.