Skip to content

Instantly share code, notes, and snippets.

@didip
Created December 6, 2009 18:20
Show Gist options
  • Save didip/250324 to your computer and use it in GitHub Desktop.
Save didip/250324 to your computer and use it in GitHub Desktop.
#!/bin/bash
DUMPFILE=/tmp/dump.`date +%Y.%m.%d`.sql
echo Dumping > $DUMPFILE
mysqldump dump > $DUMPFILE
echo Finished dumping >> $DUMPFILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment