-
-
Save Kamik/fbbdc85bb778692531ac25c82f7a3853 to your computer and use it in GitHub Desktop.
Export a Magento database without the products or without the categories, place this file in app/etc/. Docs about creating a custom dump command: https://github.com/netz98/n98-magerun/wiki/Stripped-Database-Dumps
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
commands: | |
N98\Magento\Command\Database\DumpCommand: | |
table-groups: | |
- id: products | |
description: Skip all product tables. | |
tables: > | |
catalog_category_product* | |
catalog_compare_item | |
catalog_product_* | |
cataloginventory_stock_* | |
catalogrule_affected_product | |
catalogrule_product* | |
catalogsearch_* | |
- id: categories | |
description: Skip all category tables. | |
tables: > | |
catalog_category_* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment