Skip to content

Instantly share code, notes, and snippets.

@bahaddinyasar
Created February 21, 2013 00:06
Show Gist options
  • Save bahaddinyasar/5000860 to your computer and use it in GitHub Desktop.
Save bahaddinyasar/5000860 to your computer and use it in GitHub Desktop.
MySQL table backup script
CREATE TABLE backup_table LIKE original_table;
INSERT INTO backup_table SELECT * FROM original_table;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment