1. Zhang Huangbin
  2. iredmail

Commits

Zhang Huangbin  committed 95d3bfa

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

  • Participants
  • Parent commits 2cac41e
  • Branches default

Comments (0)

Files changed (1)

File iRedMail/tools/backup_mysql.sh

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