Pedalman Posted June 30, 2020 Posted June 30, 2020 (edited) I want to exclude tables from database export (through backoffice) in order to get a smaller export sql file. For example I want exclude: _DB_PREFIX_.'ps_site_defender', _DB_PREFIX_.'ps_smarty_cache' I tried the following in PrestaShopBackup.php but all following tables are being skipped... not I want: public function add() { if (!$this->psBackupAll) { $ignoreInsertTable = [ _DB_PREFIX_.'connections', _DB_PREFIX_.'connections_page', _DB_PREFIX_.'connections_source', _DB_PREFIX_.'guest', _DB_PREFIX_.'statssearch', ]; } else { $ignoreInsertTable = []; } // pedalman $ignoreInsertTable = [ _DB_PREFIX_.'ps_site_defender', _DB_PREFIX_.'ps_smarty_cache', ]; Edited June 30, 2020 by Pedalman
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now