The Storage Bunker protects the resources inside from being raided. In addition it protects a between 50% and 80% of your stockpile (see 'Reserve' per level on the table on the right). Only 50% uncollected resources of production buildings are protected (known as 'Mine Reserve'). If your base is raided multiple times your resources will diminish.