When a customer exits UKG, Workday, or a comparable HR/payroll platform, the surviving
.bak file and PDF bundles lose the application logic that made them readable.
You make the extraction decisions once, at migration — code dictionaries, immutable audit
trails, OCR indexing — and they decide the customer's legal defense years later.
Export scope bounds everything. Whatever is left behind is gone for good.
A relational dump contains raw tables, not answers. There is no Net_Pay column to
SELECT — rebuilding one employee's net pay means joining
Employees, Pay_Elements, Deductions, and
Tax_Withholdings, and the join logic, calculation order, and rounding rules lived in the
SaaS application's code. That code is gone. The destination platform may not take the history either:
UKG Pro WFM does not migrate historical timecard and schedule data — so the archive-or-delete
decision is forced at migration, on exactly the records wage-and-hour defense depends on.
Nobody opens the archive until one of these four events forces the issue — usually a year or more after migration. Each one asks questions the raw export can't answer on its own.
Every way an archived HR/payroll database fails as evidence comes down to one of four breaks in the chain. All four are decided at ingestion — years before anyone files a claim — and each is cheap exactly once.
Weekly totals retained; daily punch timestamps purged. Daily-overtime and meal-break defenses are mathematically unreconstructable from aggregates.
Undecoded system codes. The numeric rows are intact but unintelligible — the retention clock was satisfied while the evidentiary duty was not.
No extraction timestamps, row counts, checksums, or submission IDs. Integrity is attackable; completeness and defensible destruction are unprovable.
Data present but unindexed, cold, or unmapped when the clock starts. The employer possesses every record and still misses the deadline.
Retention mandates (how long records must exist) and statutes of limitation (how far back someone can sue) are two different clocks — tagging a whole dataset with one federal retention period is an engineering defect. The clocks below run from 21 days to 30 years, so they have to live on each object, not on the platform.
| Legal demand | Clock / horizon | Required evidence fields | Vendor capability | Failure mode |
|---|---|---|---|---|
| FLSA payroll recordsfederal floor | 3 yrretention |
|
Immutable versioned punch store; archive manifest with extraction timestamp, row counts, field-level checksums | Missing grain — overtime week unreconstructable two years later |
| IRS employment taxW-2 / 941 / 940 / EFTPS | 4 yrretention |
|
Standardized tax exports (CSV/PDF); restore-test timestamps; deletion/expiration certificates | Broken correction chain — discrepancy cure unprovable inside the window |
| ERISA benefit plans401(k) / DOL audits | 6 yrretention |
|
Code-dictionary preservation keyed to referencing tables; six-year controls with legal-hold ID | Missing semantics — match history unprovable; codes undecodable |
| OSHA exposure recordslongest horizon | ≤ 30 yrretention |
|
Media-independent object storage with archive object hash; periodic restore tests; controlled-destruction certificate | Payroll-length purge destroys records decades before the clock expires |
| New York wage & hourWage Theft Prevention Act | 6 yr / 7 op.retention + lookback |
|
Jurisdiction-rule table with effective dates driving per-row retention flags | A 3-year FLSA-aligned purge destroys NY evidence mid-window |
| WA / CA personnel filesWA 2025 law · CA Labor Code §226 | 21 daysproduction deadline · CA: automatic penalty |
|
Pre-indexed OCR portal; per-employee document splitting; 24–48 hr audit-response SLA (preserves ~19 days of margin) | Missing retrievability — data exists; deadline missed; CA penalty from latency alone |
| ACA shared responsibilityIRS Letter 226-J · retroactive look-back | $3,340 / $5,010per FTE · 2026 · ≈$668K single-trigger @ 200 EEs |
|
Algorithm-versioning; measurement-period definitions archived; reproducible determinations | Weekly totals cannot recompute measurement-period averages; Line 16 safe harbor unsubstantiated |
| ACA information returnsAIR transmission chain | $340 / returncap $4.1M/yr · $680 intentional disregard, no cap |
|
Transmission-receipt inventory outside the core database export; correction-chain linkage preserved | Rejected transmission with no archived error report — per-return exposure accumulates silently |
Every penalty-bearing mandate breaks down into the same five stages. An archive that keeps the determinations but not the transmission proofs and final verifications fails at exactly the points an auditor checks. A chain with one missing link is no chain.
Retention law is not one number. Each jurisdiction — and each record class inside it — sets its own retention period, and your purge jobs have to know which clock applies to which row. That requires a jurisdiction-rule table: a lookup table of retention rules keyed by work-state, jurisdiction code, and record class, with effective dates, that every retention and deletion job evaluates row by row.
.bak — one must survive 3 years, the other up to 30. A 10x difference inside one database.The clock can only be computed from fields on the row itself — work-state, jurisdiction-code history, record class — so a purge job evaluates each row against the rule table, never a database-wide timestamp. The grain column below is where archives die, and it's fixed at ingestion: shift-level punches, meal intervals, effective-dated addresses, and discipline events either go in at migration or the query can never be answered. Latency failures (the 21-day deadlines) are fixable with a hot tier and indexes. Grain failures — Nevada thresholds, California clipping, Puerto Rico cumulative hours — are not.
| Scenario | Jurisdiction | Clock / horizon | Required query pattern | Minimum data grain | Failure mode |
|---|---|---|---|---|---|
| Long-tail wage claims | New YorkWage Theft Prevention Act | 6 yr / 7 op. | Jurisdiction-filtered retention audit by work-state | Row-level wage/time records with jurisdiction-code history | 3-year FLSA-aligned purge destroys NY evidence mid-window |
| Long-tail wage claims | Illinois | 5 yr | Retention-clock query on Illinois-sourced rows | Payroll registers + payment reports | Premature destruction; no defense inside 5-year window |
| Long-tail wage claims | California | 3–4 yrlimitations, not retention | Historical pay-rate and hours reconstruction | Daily hours; pay-rate-change history | Conflating limitations with retention truncates evidence |
| Personnel-file access | Washington2025 law: payroll = "personnel file" | 21 days | Per-employee full-file extract | Pay stubs + payroll records, pre-indexed | Cold/offline archive exceeds deadline despite holding data |
| Personnel-file access | CaliforniaLabor Code §226 | 21 daysautomatic penalty | Per-employee wage-statement retrieval | Wage-statement records with delivery timestamps | Automatic penalty from retrieval latency alone |
| Daily overtime | California, Alaska | 8 / 12 hr1.5× after 8 · 2× after 12 | Per-shift reconstruction from raw punch timestamps | Punch-in/out events, not weekly totals | Weekly aggregates cannot compute daily OT; irreversible grain loss |
| Daily overtime | Nevada | 1.5× min wageeligibility threshold | Pay-rate-to-threshold join plus shift reconstruction | Punch events + historical pay rates | Missing rate history breaks the eligibility test itself |
| Just-cause severance | Puerto Ricomesada — no at-will employment | Years | Longitudinal performance / attendance / discipline query | HRIS discipline + attendance events | Payroll-scoped archive omits HRIS evidence entirely |
| Bono de Navidad | Puerto Rico | Multi-month | Cumulative-hours windowed aggregation across non-pay-period windows | Hour events spanning specific windows | Aggregated or window-misaligned hours short the calculation |
| Meal-break premium | California | 1 hr / dayclaims reach 3+ years | Minute-level meal-interval ("clipping") scan | Meal-break start/end timestamps | Auto-deduct flags record the assumption of a break, not evidence of one |
| Remote-work reimbursement | CA · IL · MA · DC | Multi-year | Address-history-to-stipend temporal join | Effective-dated addresses + line-item stipend pay elements | Current-value address fields and undecoded pay codes break the join silently |
SOC 2 Type II, BAA/DPA, immutable write-once storage, and tenant isolation are the floor — below that, the archive is just a liability with an uptime. The capabilities below close the four failure modes. Treat each as an acceptance test: if you can't produce the named artifact on demand, the control doesn't exist.
Ingestion sets the ceiling on what you can ever prove, so the 100%-capture attestation is the first gate. Indexing without immutability gives you findable records that can be impeached; immutability without indexing gives you trustworthy records nobody can reach. Audit response is the integration test. Each row names a control to demand and the artifact that proves it exists.
| Control domain | Required control | Validation artifact |
|---|---|---|
| 1 · Ingestion | Full table scope including code dictionaries, audit tables, edit histories; automated schema mapping per source system | Ingestion-audit report proving 100% capture; per-table row-count reconciliation |
| 2 · Indexing | OCR and index every report PDF; per-employee and punch-level keys | Search test retrieving one pay stub from a 5,000-page journal PDF |
| 3 · Immutability | Write-once storage with per-object hashes; legal holds overriding deletion | Hash-verification log; legal-hold audit trail |
| 4 · Retrieval | Per-individual and aggregate query paths; standardized tax exports; portal | Retrieval drill meeting the 24–48-hour SLA and 21-day deadline |
| 5 · Retention | Per-framework clocks (3 / 4 / 6 / up-to-30 years) with NY 6-year and practical 7-year overlays | Retention lifecycle schedule; certificates of destruction at clock expiry only |
| 6 · Audit response | SOC 2 Type II, BAA/DPA, tenant isolation, named data-engineer concierge | Current SOC 2 Type II report; signed BAA/DPA register; restore-test evidence |
No dollar penalties are stated for these — but the failure mode is the same everywhere: source systems store current-state values, and audits ask about a specific past date. An archive that only ingests end-state tables satisfies none of these regimes, even though every record technically exists.
| Regime | Point-in-time evidence to preserve | Exposure status (as stated in source) |
|---|---|---|
| Pay transparency | Posting-text snapshots with range min/max; pay-band change history; platform feed publish/update/remove timestamps | ~15 states + DC; Virginia and Maine effective July 2026; no penalty stated |
| Medicaid EVV | Visit-level GPS/geofence + IVR ANI; manual-edit before/after values; EVV-to-timesheet crosswalk; aggregator acknowledgments | Primary home-health buying trigger; ~75% caregiver turnover; no penalty quantified |
| ICHRA | Class-definition text with effective dates; affordability model version; proof-of-coverage document IDs | High-growth delivery model; no mandate or penalty stated |
| Portable benefits | Worker classification codes; opt-in elections; earning-event-to-contribution linkage; state-rule versions | Five states since 2022; states and penalties not identified in source |
| HIPAA / GDPR / SOC 2 / EDI 834 / LDEx | BAA/DPA inventory; immutable access logs; EDI control numbers; RoPA/DSAR artifacts; schema-version pinning; restore tests | No violation or fine stated; SOC 2 Type II and LDEx are contractual controls, not legal mandates |
Every control on this page is the same loop, run per framework, per record class, per archive object:
The wrong way to think about time: retention is a single countdown you set once — "keep everything 7 years" — and the calendar takes care of compliance. Under that model, a California meal-break claim arrives in year 4 to find the punches purged on schedule, and an OSHA exposure record outlives its usefulness with no certificate to prove its destruction. The right way: time is a property of each record, not of the archive. A punch row, a W-4 version, and an exposure-event record each carry their own clock — start, end, jurisdiction-rule version, legal-hold flag — and the platform's job is to evaluate thousands of small clocks correctly, not to enforce one big one.
Run a live extraction drill before signing. Otherwise the first real test arrives attached to a subpoena — or a 21-day statutory clock.