Bash script for quickly creating a mysql backup of a database and also restoring a backup to a database