Freshness evaluation
Compares each supplied backup timestamp with an explicit per-site age limit using a reproducible reference time.
Day 028 / Frappe / Backup Operations
A dependency-free Python CLI that evaluates sanitized backup timestamps against explicit freshness limits without opening archives or connecting to a live site.
Compares each supplied backup timestamp with an explicit per-site age limit using a reproducible reference time.
Separates stale, missing and future-dated metadata instead of collapsing every problem into one generic failure.
Produces deterministic text or JSON while keeping archives, credentials, databases and backup schedules out of scope.
Four explicit freshness states
Timezone-aware age calculation
Per-site age limits
Bounded allowlisted JSON input
No archive or live-site access
Eleven passing standard-library tests
Argparse, dataclasses, datetime, pathlib and JSON provide the complete dependency-free command-line workflow.
Models explicit freshness policies and timezone-aware timestamps without claiming that age alone proves restore integrity.
Eleven tests cover boundaries, stale, missing and future states, clock skew, validation, sorting and the non-mutating notice.