Created
January 19, 2012 04:48
-
-
Save deltaepsilon/1638018 to your computer and use it in GitHub Desktop.
Wordpress Table 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
#Dump table | |
mysqldump --add-drop-table -u USERNAME -pPASSWORD TABLENAME | gzip > destination_file.sql.gz | |
#Input table | |
mysql -u USERNAME -pPASSWORD TABLENAME < destination_file.sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment