This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#PASSWORD=$1 # Now using .my.cnf for password | |
LOC=/var/backups/mysql/$1 | |
# Exit immediately if a pipeline returns non-zero. | |
# Short form: set -e | |
set -o errexit |