I've stored spares of my sourdough in the past by drying, filling a baby food jar, and freezing both.
It's been a while, but I don't recall why/how my starters got lost. I guess I'll have to start from the beginning.
Another method I want to try is to put the flour/water outside on a dry breezy day covered with cheese cloth to catch wild yeast.