Skip to content

Commit

Permalink
Update Zabbix_MySQLdump_per_table_v2.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhausong committed Jan 24, 2015
1 parent 982d734 commit bb8a269
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 03-chapter/Zabbix_MySQLdump_per_table_v2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ MySQLDUMP () {
do
[[ 'history*|trends*|acknowledges|alerts|auditlog|events|service_alarms' =~ "${TABLE_NAME}" ]]
status="$?"
echo ${status}
if [ "${status}" == 1 ];then

${MYSQL_DUMP_BIN_PATH} --opt -u${MySQL_USER} -p${MySQL_PASSWORD} -P${MySQL_PORT} -h${MySQL_HOST} ${MySQL_DATABASE_NAME} ${TABLE_NAME} >${TABLE_NAME}.sql
Expand Down

0 comments on commit bb8a269

Please sign in to comment.