Created
February 16, 2019 16:17
-
-
Save duduribeiro/777e7c33c2951c8c5fc0741900663967 to your computer and use it in GitHub Desktop.
Mysql dump filtering tables
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 -umy_user_name -p database_name --tables my_table1 --where="date_created > '2016-01-01' " > mytable1_filtered_dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment