mysql script now store backup in database too