All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
- Export structure only for Gravity Forms draft submissions (
gf_draft_submissions), the partial entries saved with "Save and Continue"
- Export structure only for Complianz consent statistics (
cmplz_statistics) - Export structure only for the WP Cerber tables holding personal data:
cerber_acl,cerber_blocks,cerber_lab,cerber_lab_ip,cerber_qmemandcerber_uss(user sessions with WordPress session tokens).cerber_lab_netis matched bycerber_labtoo - Export structure only for Simple History (
simple_history,simple_history_contexts) - Export structure only for BEA Sender (
bea_s_*) bin/truncate-light-db-tables.shhelper to truncate the filtered tables in place with themysqlclient, with a dry-run mode
bin/truncate-light-db-tables.shnow truncates the Simple History tables too, as the export already filtered them
- Run both
db exportcalls with--single-transaction --quick --lock-tables=false, so the export no longer locks tables on the source database - README: list the filtered tables accurately and state which personal data are still exported
- Fall back to
SELECT DATABASE()when$wpdb->dbnameis not defined
wp light_db export <file>command: exports every table, with structure only for log, tracking and personal data tables--tables-to-filteroption to add table name substrings to the default list- Gzip compression of the dump by default,
--no-compressto keep plain SQL - Default filters for SearchWP 3.x and 4.x, Redirection, YOP Poll, WP Security Audit Log, Relevanssi, Log HTTP Requests, WP Mail Log, WP Mail Logging, Broken Link Checker, Stream, Audit Trail, WP Cerber, ThirstyAffiliates, GDPR Cookie Consent, FacetWP, Gravity Forms, Formidable Forms, Contact Form 7 (CF7 to Database), WPForms, WP All Export / Import, Cavalcade, Yoast SEO, Matomo, WP Rocket, Action Scheduler and WooCommerce sessions