Skip to content

Instantly share code, notes, and snippets.

@vordan
Created July 16, 2015 05:40
Show Gist options
  • Save vordan/04be88158078b36edb5a to your computer and use it in GitHub Desktop.
Save vordan/04be88158078b36edb5a to your computer and use it in GitHub Desktop.
Exclude tables from mysqldump
mysqldump -u username -p database --ignore-table=database.table1 --ignore-table=database.table2 > database.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment