patch applied: fixing bug in mysql backup procedure