Bud, in glass. never grew enough in one cycle to last more then a few months to half year.
Seed, Depending on situation i got them in. if purchased or was gifted and didn't quite get to all of them for whatever reason, i vac seal them with some sort of desiccant, and place that bag, labeled OFC and place it in a UV protected glass jar and it make its way to my root/cold cellar
if it came from plants i grew, I would put them in a small shot glass in on of the large jars curing bud that is atleast a few months old at that point. for a week or two then they would get the vac treatment others would get. it doesn't appear to negatively effect germination rates, but no solid foundation weather it actually keeps germination rates up in extended storage..
We store our seeds in a Mason jar with rice (to soak up moisture) and seed packs in ziplocks the jar in the refrigerator. I just got new seeds and have them in a cabinet because they were not stored in a refrigerator ever and have been at room temperature dsy one. I know the person I got them from, so I kept them same temperature, room temp. I'm gonna grow them within the next two months so it's fine, otherwise they'd be joining the rest in the rice jar in The fridge.