Having dry pasta for long-term storage is a good idea because it can be kept for 30 years in food-grade buckets. It can also be stored for 10 years in mylar bags, and up to 3 years in an airtight container.