From 5502618ec53ca38c02c60113005be9bfd8fd318b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yavuz=20Ayd=C4=B1n?= Date: Tue, 27 Jul 2021 13:08:46 +0200 Subject: [PATCH] Added PATH to include /usr/local/sbin and /usr/local/bin --- backup_mysql.sh | 2 ++ 1 file changed, 2 insertions(+) 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