Skip to content

Instantly share code, notes, and snippets.

@oliyoung
Created August 1, 2008 00:16
Show Gist options
  • Save oliyoung/3547 to your computer and use it in GitHub Desktop.
Save oliyoung/3547 to your computer and use it in GitHub Desktop.
dump database into usefully named sql file
mysqldump --user=USER --password=PASSWORD DATABASE > ~/`date +%Y-%m-%d_%H%M`.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment