further improvements to mysql backup.