hi
after the succesful installation of automysqlbackup, the following error apper when I try to execute it
host:~ # automysqlbackup /etc/automysqlbackup/myserver.conf
/usr/local/bin/automysqlbackup: line 517: syntax error near unexpected token `<'
/usr/local/bin/automysqlbackup: line 517: ` while read -r; do tmp="${db}.${REPLY}"; done < <(mysql -user="${CONFIG_mysql_dump_username}" -password="${CONFIG_mysql_dump_password}" -host="${CONFIG_mysql_dump_host}" "${mysql_opt}" -batch -skip-column-names -e "select table_name from information_schema.tables where table_schema='${db}' and table_name like '${table//\*/%}';")'
thank you for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yeah, i got the same error for my suse linux sles 11 too. Here the details :
/usr/local/bin/automysqlbackup: line 250: syntax error near unexpected token ('
/usr/local/bin/automysqlbackup: line 250: mv "$1" "$(echo "$1" | sed -re 's/[0-9]{4}-[0-9]{2}-[0-9]{2}[0-9]{2}h[0-9]{2}m_(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday|January|February|March|April|May|June|July|August|September|October|November|December|[0-9]{1,2})//g')"'
This error appear after the installaion of automysqlbackup-v3.0_rc6
Need a solution from admin :)
Last edit: abangmanis 2015-02-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi
after the succesful installation of automysqlbackup, the following error apper when I try to execute it
host:~ # automysqlbackup /etc/automysqlbackup/myserver.conf
/usr/local/bin/automysqlbackup: line 517: syntax error near unexpected token `<'
/usr/local/bin/automysqlbackup: line 517: ` while read -r; do tmp="${db}.${REPLY}"; done < <(mysql -user="${CONFIG_mysql_dump_username}" -password="${CONFIG_mysql_dump_password}" -host="${CONFIG_mysql_dump_host}" "${mysql_opt}" -batch -skip-column-names -e "select table_name from information_schema.tables where table_schema='${db}' and table_name like '${table//\*/%}';")'
thank you for your help
version: automysqlbackup-v3.0_rc6
yeah, i got the same error for my suse linux sles 11 too. Here the details :
/usr/local/bin/automysqlbackup: line 250: syntax error near unexpected token
(' /usr/local/bin/automysqlbackup: line 250:
mv "$1" "$(echo "$1" | sed -re 's/[0-9]{4}-[0-9]{2}-[0-9]{2}[0-9]{2}h[0-9]{2}m_(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday|January|February|March|April|May|June|July|August|September|October|November|December|[0-9]{1,2})//g')"'This error appear after the installaion of automysqlbackup-v3.0_rc6
Need a solution from admin :)
Last edit: abangmanis 2015-02-26