PANTRISORA

Worked example · simulated scenario

Restoring a Discard With Its Inventory History

A backup of discarded food must bring back the stock state after that discard, not replay the loss as a new action. Otherwise restoring useful history would quietly reduce the household’s food twice.

A valid backup contains a 40 g carrot discard and the matching batch and inventory event.

Restore and inspect both views

  1. Export the complete backup from Grocery List Maker.
  2. Restore that unmodified file into another local browser profile.
  3. Review inventory and Food Waste Tracker in the restored profile.

The loss is history, not a new withdrawal

The 40 g discard remains visible and its already reduced batch quantity is restored without another deduction.

The backup carries the batch, its event and the matching waste record together. Restoring that saved state preserves the already reduced amount without performing another discard.

Use complete PANTRISORA backups rather than copying the waste array on its own.