Commits

Zhang Huangbin  committed 95d3bfa

Skip the data of table mysql.event whiling backing up mysql databases.

  • Participants
  • Parent commits 2cac41e

Comments (0)

Files changed (1)

File iRedMail/tools/backup_mysql.sh

         ${CMD_MYSQLDUMP} \
             -u"${MYSQL_USER}" \
             -p"${MYSQL_PASSWD}" \
+            --events --ignore-table=mysql.event \
             --default-character-set=${DB_CHARACTER_SET} \
             ${db} > ${output_sql}