Created
March 21, 2014 02:32
-
-
Save joelremix/9678323 to your computer and use it in GitHub Desktop.
MySQL: backup_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
CREATE TABLE wp_posts_BAK LIKE wp_posts ; | |
INSERT wp_posts_BAK SELECT * FROM wp_posts; | |
CREATE TABLE wp_postmeta_BAK LIKE wp_postmeta ; | |
INSERT wp_postmeta_BAK SELECT * FROM wp_postmeta; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment