Last active
May 24, 2018 17:25
-
-
Save lukecav/091a9ca3e47115215ab5ad2e764a8046 to your computer and use it in GitHub Desktop.
WP Migrate DB Pro WP-CLI command to export the site db and exclude products and orders from a WooCommerce site
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp migratedb export site-db.sql.gz --exclude-post-types=product,shop_order --skip-replace-guids --gzip-file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://deliciousbrains.com/wp-migrate-db-pro/doc/cli-export-subcommand/
https://docs.woocommerce.com/document/installed-taxonomies-post-types/