Skip to content

Instantly share code, notes, and snippets.

@akiletour
Created January 22, 2014 13:17
Show Gist options
  • Save akiletour/8558543 to your computer and use it in GitHub Desktop.
Save akiletour/8558543 to your computer and use it in GitHub Desktop.
Gives the possibility to dump a SQL table
#!/bin/bash
DATE=`date +%Y%m%d`
DB=$1
mysqldump --verbose -uXXXX -pXXXX $DB > $DB"_"$DATE.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment