people in the past would grab a small jar full of dirt from home and drink it whenever countering some ailment, I actually think that'd still work due to the recent researches on gut bacterial and it's influences on immune system and all...
There is actually real science behind this idea of drinking your home dirt (I'm not sure if its apocryphal or anecdotal). The reason many people experience stomach upset or constipation while on vacation is because their gut micribiome is unaccustomed to the new environment.
I never heard or read about this and I used to read about past practices a lot. Who, when and where? I mean, which social class, which place and period and how prevalent it was?