I just replaced the ${DOWEEKLY} var for the default value "6" (with quotes) and now it works.
I didn't find the real solution yet but for me this is okay now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a while the script stops with this error:
###### WARNING ######
Errors reported during AutoMySQLBackup execution.. Backup failed
Error log below..
automysqlbackup: line 679: [: 1: unary operator expected
679: if ; then
680: ${ECHO} Weekly Backup of Databases \( ${DBNAMES} \)
681: ${ECHO}
${ECHO}
dbdump "${DBNAMES}" "${BACKUPDIR}/weekly/week.${W}.${DATE}.sql"
&& {
${ECHO} Rotating 5 weeks Backups…
${FIND} "${BACKUPDIR}/weekly/" -mtime +35 -type f -exec ${RM} -v {} \;
}
anyone had this error ?
I am also getting this error. I've sent a message to the mailing list but have not gotten a reply yet.
I just replaced the ${DOWEEKLY} var for the default value "6" (with quotes) and now it works.
I didn't find the real solution yet but for me this is okay now.