{"id":26793137,"url":"https://github.com/beapi/wp-cli-light-db-export","last_synced_at":"2025-04-22T15:12:17.467Z","repository":{"id":145483308,"uuid":"64552226","full_name":"BeAPI/wp-cli-light-db-export","owner":"BeAPI","description":"Light DB export for WP-cli","archived":false,"fork":false,"pushed_at":"2025-03-06T10:20:09.000Z","size":49,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-22T15:12:02.044Z","etag":null,"topics":["database","wp-cli","wp-cli-package"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeAPI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-30T16:02:33.000Z","updated_at":"2025-03-06T10:18:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6e03720-1dc6-45e0-837c-a6ca466db00b","html_url":"https://github.com/BeAPI/wp-cli-light-db-export","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-light-db-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-light-db-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-light-db-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-light-db-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeAPI","download_url":"https://codeload.github.com/BeAPI/wp-cli-light-db-export/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250264909,"owners_count":21402004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","wp-cli","wp-cli-package"],"created_at":"2025-03-29T16:19:16.934Z","updated_at":"2025-04-22T15:12:17.443Z","avatar_url":"https://github.com/BeAPI.png","language":"PHP","readme":"# wp-cli-light-db-export\n\nLight DB export for WP-CLI\n\nAllows you to export big databases with all the tables but not all the data.\n\nSometimes you need the structure and not the data like log tables or tracking tables.\n\nBy default, it ignores tables for theses plugins :\n* Action Scheduler\n* Broken Link Checker\n* Cavalcade\n* Contact Form 7\n* FacetWP\n* FormidableForms\n* GDPR Cookie Consent\n* GravityForms\n* Log HTTP requests\n* Matomo\n* Redirection\n* SearchWP 3.x \u0026 4.x\n* Stream\n* TA Links\n* ThirstyAffiliates\n* WP All Export\n* WP Cerber\n* WP Forms\n* WP Mail Log\n* WP Mail Logging\n* WP Rocket\n* WP Security Audit Log\n* WooCommerce\n* Yoast SEO\n* Yop Polls\n\n## Installing\n\nInstalling this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.\n\nOnce you've done so, you can install this package with `wp package install BeAPI/wp-cli-light-db-export`\nYou also can update your package with `wp package update`\n\n## Usage\n\nExport everything without the contents of tables containing heavy data or user data :\n\n`wp light_db export export.sql`\n\nAdvanced export without plugins data, AND without postmeta,posts tables also\n\n`wp light_db export export.sql --tables-to-filter=postmeta,posts`\n\nWith this command will export all the data from your database but no data from all databases postmeta or posts even with the prefixes\n\n## Credits\n\nBased on https://github.com/petenelson/wp-cli-size for the table size and row count\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fwp-cli-light-db-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeapi%2Fwp-cli-light-db-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fwp-cli-light-db-export/lists"}