I suggest that you add a comment that the path require an ABSOLUTE path, not a relative path. It took me some time trying to figure out what was wrong until I have finally realized that the script require an absolute path before it will work properly.
The error message I have received wasn't helpful enough for me to debug the issue as it use obscure message "Permission denied" such as those below:
Attention: Developer of AutoMySQLBackup script
Hello, I have successfully configured the script after spending some time with it. I have a suggestion regarding the line:
# Backup directory location e.g /backup
BACKUPDIR="/backup"
I suggest that you add a comment that the path require an ABSOLUTE path, not a relative path. It took me some time trying to figure out what was wrong until I have finally realized that the script require an absolute path before it will work properly.
The error message I have received wasn't helpful enough for me to debug the issue as it use obscure message "Permission denied" such as those below:
mkdir: cannot create directory `/backup/daily': Permission denied
mkdir: cannot create directory `/backup/weekly': Permission denied
mkdir: cannot create directory `/backup/monthly': Permission denied
Regards,
Devin