diff --git a/backup_mysql.sh b/backup_mysql.sh index 59d56f9..195ca98 100755 --- a/backup_mysql.sh +++ b/backup_mysql.sh @@ -75,6 +75,8 @@ # MySQL administrative user password, uncomment if you want to use this instead of # the value in /root/.my.cnf #MYSQL_PW='ThisIsMyMySQLRootPassword' +# Set PATH to include /usr/loca/ +PATH="/usr/local/sbin:/usr/local/bin:${PATH}" # Log file BAKUP_LOG=/var/backup/log/mysql-backup.log # Backup Base directory