Persistence & Backup in Inventory App So far, our inventory works only in memory. Once the program ends, all data is lost. In real-world systems, inventory must be saved and restored — whether to a database or, in our simple case, a JSON file . We’ll also add automatic backups with timestamps , so we can restore older data if something goes wrong. Adding Save & Load with Backup Using Save & Load Example Files Created ✅ Why this matters Now our app persists data between runs, like a real application. Backups ensure we don’t lose everything if data is corrupted. This is a stepping stone towards using databases later. Next, we’ll add Iterators & Generators to process inventory items efficiently (e.g., for low-stock alerts).