make backup only if mysql server is running