So I'm trying to turn my Raspberry pi into an automated MYSQL backup server but I'm struggling to find a working shell script to archive what I'm looking for. Until I came across this Git Repo but when I try to run the script with all the correct credentials I am returned an error
mysqldump: command not found
This is regarding mysqldump -h $HOST --user=$USER --password=$PASS $database > $BACKDIR/$SERVER-mysqlbackup-$database-$DATE.sql on line 149 although I see no reason why this wouldn't work? Possibly someone else can. Except this, no errors are returned and the zip is created with the .sql file included but with no text. Thanks in advance :)