Add --events flag to mysqldump if version 5.1.8 or later http://virtualmin.com/node/26795