mysql backup sanity checks.