We haven't been eradicated before, no, but battles with things like bubonic plague and smallpox and polio (and, yes, HIV/AIDS) are likely to be good case studies for such a scenario. Bubonic plague and smallpox in particular were pretty devastating to the populations they affected.