Bash script to backup and restore MySQL, InnoDB database