Skip to content

Instantly share code, notes, and snippets.

@tjweir
Created January 9, 2009 22:53
Show Gist options
  • Save tjweir/45301 to your computer and use it in GitHub Desktop.
Save tjweir/45301 to your computer and use it in GitHub Desktop.
// I never remember....
shell> mysqldump db_name > backup-file.sql
shell> mysql db_name < backup-file.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment