Created
September 9, 2016 13:31
-
-
Save gsomoza/be935827f23e98e1218064fc2c34b256 to your computer and use it in GitHub Desktop.
Slim Magento 1 DB Dump
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
mysqldump --no-data -h localhost -u root -p schema | gzip > structure.sql.gz | |
mysqldump --no-create-info -h localhost -u root -p | |
--ignore-table=schema.adminnotification_inbox \ | |
--ignore-table=schema.aw_core_logger \ | |
--ignore-table=schema.dataflow_batch_export \ | |
--ignore-table=schema.dataflow_batch_import \ | |
--ignore-table=schema.log_customer \ | |
--ignore-table=schema.log_quote \ | |
--ignore-table=schema.log_summary \ | |
--ignore-table=schema.log_summary_type \ | |
--ignore-table=schema.log_url \ | |
--ignore-table=schema.log_url_info \ | |
--ignore-table=schema.log_visitor \ | |
--ignore-table=schema.log_visitor_info \ | |
--ignore-table=schema.log_visitor_online \ | |
--ignore-table=schema.index_event \ | |
--ignore-table=schema.report_event \ | |
--ignore-table=schema.report_compared_product_index \ | |
--ignore-table=schema.report_viewed_product_index \ | |
--ignore-table=schema.catalog_compare_item \ | |
--ignore-table=schema.catalogindex_aggregation \ | |
--ignore-table=schema.catalogindex_aggregation_tag \ | |
--ignore-table=schema.catalogindex_aggregation_to_tag \ | |
schema | gzip > data.sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment