Techne Path markTechne Path
Techne Path · technical reference — data engineering, archiving, and compliance ops · not legal advice

A hosted archive is
retained storage
an evidence system.

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.

Read on to learn how to avoid the four failure modes that leave an archive full of data and empty of evidence — and how to prove capture, integrity, and retrieval before a claim, an audit, or a 21-day clock tests them for you.
$
From rollout to results.
Fixed at migration
Export scope
→
Determines
Archive completeness
→
Determines
Evidence quality
→
Determines
Legal defense
01 — The Passive-Data Trap

The Bits Survive.
The Meaning Doesn't.

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.

What the export contains.bak + PDFs

  • Base tables: rows, keys, final-state values
  • Weekly hour totals and payroll registers
  • Monolithic report bundles (one 5,000-page payroll-journal PDF)
  • Coded values as opaque identifiers

What stayed behindunrecoverable

  • Application logic layer — calculation and join rules
  • Code dictionaries (deduction, reason, exemption codes)
  • Edit histories: who changed what, when, why
  • Transmission receipts: EFTPS confirmations, AIR submission IDs, SSA acceptances
Deduction_ID = 407 /* meaning: ??? */
⇢
"Roth 401(k)" — only if the dictionary was archived
A 401(k) nondiscrimination audit or a SECURE 2.0 Roth catch-up defense requires decoding contribution source codes per pay period. Without the preserved dictionary, the rows exist and prove nothing. Weekly totals are mathematically lossy for daily thresholds: a 10-hour Monday plus a 6-hour Tuesday is 16 weekly hours and zero federal overtime — but two hours of California daily overtime. No post-hoc query can recreate grain that was never ingested.
Trigger / 01Legal & compliance disputesWage-and-hour claims, wrongful termination, UI audits — plaintiff counsel and state agencies.FLSA 3-yr floor · NY 6 · IL 5 · CA 3–4
Trigger / 02Tax & regulatory auditsIRS and state tax audits, workers' comp audits, retroactive ACA penalties.IRS 4-yr · ACA prior-year look-back
Trigger / 03Financial & benefits reconciliation401(k) nondiscrimination testing, commission and equity-vesting disputes — DOL and plan auditors.ERISA 6-yr
Trigger / 04Subpoenas & employee requestsPersonnel-file requests, child-support and employment verification — courts, former employees, attorneys.WA / CA 21-day production

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.

02 — The Four Failure Modes

The Chain Breaks in
Four Predictable Ways.

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.

FAILURE / 01

Missing grain

Weekly totals retained; daily punch timestamps purged. Daily-overtime and meal-break defenses are mathematically unreconstructable from aggregates.

→ CA meal-break "clipping": clock-back at 29 minutes instead of 30. One hour of penalty pay per affected employee per affected day — undetectable without minute-resolution punch events.
FAILURE / 02

Missing semantics

Undecoded system codes. The numeric rows are intact but unintelligible — the retention clock was satisfied while the evidentiary duty was not.

→ Deduction_ID = 407 cannot be reverse-engineered into "Roth 401(k)" when a DOL plan audit asks for contribution percentages six years after migration.
FAILURE / 03

Missing provenance

No extraction timestamps, row counts, checksums, or submission IDs. Integrity is attackable; completeness and defensible destruction are unprovable.

→ A wage claim alleges backdated time records. A final-state table copy silently discarded edit-before/edit-after values and approver IDs — the exact evidence that defeats the claim.
FAILURE / 04

Missing retrievability

Data present but unindexed, cold, or unmapped when the clock starts. The employer possesses every record and still misses the deadline.

→ One retro-calculated pay stub inside a 5,000-page payroll-journal PDF, against a 21-day personnel-file clock. Without OCR indexing and per-employee splitting, the data is functionally absent.
03 — The Compliance Lookup Matrix

Legal Demand → Evidence Fields →
Vendor Capability → Failure Mode

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
  • Original + corrected punches, edit-audit hash
  • Supervisor approval ID; workweek-begin setting
  • Regular/blended rate inputs; register + GL batch IDs
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
  • W-4 versions with e-signature hash
  • EFTPS confirmation numbers; 941/940 acknowledgment IDs
  • W-2 Box 1–20; W-2c/W-3c correction linkage
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
  • Deferral elections; employer-match formula + logs
  • Recordkeeper remittance confirmations
  • Form 5500 with EFAST2 acknowledgment
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
  • Exposure-event IDs; monitoring + chain-of-custody
  • SDS versions; medical-surveillance index
  • OSHA 300/300A/301 identifiers
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-code history; work-state/city per period
  • Pay-rate notices with signed acknowledgments
  • Spread-of-hours; final-pay timestamps
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
  • Pay-stub record IDs; wage-statement delivery timestamps
  • Per-employee earnings history, broken down
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
  • Monthly FTE counts; ALE determinations
  • 1095-C Lines 14/15/16, month by month
  • Measurement-period dates + algorithm version
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
  • 1094/1095-B/C form XML/PDF with per-form hash
  • AIR manifest / submission / receipt IDs; error detail
  • Original/corrected/replacement indicator chain
Transmission-receipt inventory outside the core database export; correction-chain linkage preserved Rejected transmission with no archived error report — per-return exposure accumulates silently
Scroll table ↓ · Horizons: 21 days → 30 years
Stage 1Triggering eventMonthly FTE count; COBRA qualifying event; age-50 eligibility date→
Stage 2Determination artifact1095-C Lines 14/15/16; election-notice ID; match formula version→
Stage 3Transmission proofIRS AIR submission + receipt IDs; proof of mailing; recordkeeper remittance confirmation→
Stage 4Correction chainOriginal/corrected/replacement indicator; prior submission ID — a first-class stage, not an exception path→
Stage 5Terminal verificationLetter 226-J response-package hash; carrier-termination acknowledgment; final abatement record

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.

04 — Jurisdiction Scenario Matrix

Every Jurisdiction Runs Its Own Clock.

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.

The wrong way — one global ruleconfig file

  • One setting for the whole archive: "delete everything after 3 years," because FLSA's federal floor is 3 years. Every record, every customer, same clock.
  • Why it fails, too short: in year 4 the purge silently destroys a New York employee's wage records — inside the state's 6-year claim window. The employer had the evidence and deleted it on schedule.
  • Why it fails, too long: keeping everything 30 years "to be safe" is over-retention — itself a liability — and you can never issue a defensible destruction certificate, because no clock ever legitimately expires.

The right way — a clock on every rowrule table

  • Each record carries its own retention metadata: clock start/end, jurisdiction-rule version, legal-hold flag, deletion-certificate timestamp.
  • Same backup, different clocks: a payroll register and an OSHA exposure record can sit in the same restored .bak — one must survive 3 years, the other up to 30. A 10x difference inside one database.
  • Same pay run, different clocks: the New York employee's wage records need 6 years (7 operationally), the Illinois employee's need 5, a federal-floor-state employee's need 3. Same table, same period — three lifespans.

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
Latency failures are curable · grain failures are not
05 — Evidence Architecture

Baseline Controls Protect Data.
Premium Capabilities Make It Evidence.

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.

Baseline / 01SOC 2 Type II + BAA/DPAProduct-scope attestation, access reviews, subprocessor inventory — not "SOC-compliant data centers."
Baseline / 02Immutable retention + legal holdsWrite-once object store; hold flags that suspend purge jobs; deletion certificates at clock expiry.
Baseline / 03Tenant isolationSingle-tenant namespaces or per-tenant row-level keys, proven by failing cross-tenant negative tests.
Baseline / 0424–48 hr audit responseCredible only against pre-indexed data; measured against 21-day statutory clocks.
Capability
Engineering content
Failure modes eliminated
100% automated ingestion-audit reportPIPELINE / INGEST
.bak restore + sanitization, schema mapping, code-dictionary capture, row-count reconciliation. The report — source-system name, extraction timestamp, table/file counts, field-level checksums — is manifest provenance: the only durable evidence that 100% of source records were captured. It must span HRIS tables, not just payroll registers.
Missing grainMissing semantics
Closed at the only moment they can still be fixed — ingestion.
Instant-report portalRETRIEVAL / SLA 24–48 HR
OCR indexing over every report bundle, document splitting per employee / per pay period, full-text + metadata search, standardized tax exports. An HR manager types a name and downloads a specific pay stub — no ad-hoc SQL against a restored backup under a statutory clock.
Missing retrievability
The 5,000-page monolithic PDF problem, closed.
Retention lifecycle managementCLOCKS / 3–30 YR
Jurisdiction-aware expiration alerts, legal-hold suspension of deletion jobs, certificates of destruction. Clocks attach at record-class level: an OSHA exposure record and a payroll register in the same backup differ by 27 years. Holding data past its mandate is itself a liability — defensible deletion requires a purge timestamp and post-deletion verification hash.
Premature destructionUnprovable destruction
Hot / cold tiering with reactivation SLASTORAGE / AVAILABILITY
Hot tier for recent migrations with frequent lookups; detached cold tier keyed to demand profile and legal-clock exposure — not data age alone. A cold archive that cannot re-attach inside a 21-day window is functionally indistinguishable from lost data. Restore tests are logged: backup job ID, restored-record count, checksum comparison.
Storage-layer retrievability loss
Legal & audit conciergeRESPONSE / COUNSEL-DIRECTED
A dedicated data engineer during an active DOL or IRS audit — custom queries for meal-break clipping scans, multi-table net-pay reconstruction, month-by-month 1095-C Line 14/15/16 compilation. This restores the logic layer the source SaaS application took with it.
Missing provenanceRaw-table trap

The Operating Checklist — Ordered by Dependency.

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 domainRequired controlValidation artifact
1 · IngestionFull table scope including code dictionaries, audit tables, edit histories; automated schema mapping per source systemIngestion-audit report proving 100% capture; per-table row-count reconciliation
2 · IndexingOCR and index every report PDF; per-employee and punch-level keysSearch test retrieving one pay stub from a 5,000-page journal PDF
3 · ImmutabilityWrite-once storage with per-object hashes; legal holds overriding deletionHash-verification log; legal-hold audit trail
4 · RetrievalPer-individual and aggregate query paths; standardized tax exports; portalRetrieval drill meeting the 24–48-hour SLA and 21-day deadline
5 · RetentionPer-framework clocks (3 / 4 / 6 / up-to-30 years) with NY 6-year and practical 7-year overlaysRetention lifecycle schedule; certificates of destruction at clock expiry only
6 · Audit responseSOC 2 Type II, BAA/DPA, tenant isolation, named data-engineer conciergeCurrent SOC 2 Type II report; signed BAA/DPA register; restore-test evidence

Adjacent Regimes — Unquantified Exposure, Constant Engineering Problem.

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.

RegimePoint-in-time evidence to preserveExposure status (as stated in source)
Pay transparencyPosting-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 EVVVisit-level GPS/geofence + IVR ANI; manual-edit before/after values; EVV-to-timesheet crosswalk; aggregator acknowledgmentsPrimary home-health buying trigger; ~75% caregiver turnover; no penalty quantified
ICHRAClass-definition text with effective dates; affordability model version; proof-of-coverage document IDsHigh-growth delivery model; no mandate or penalty stated
Portable benefitsWorker classification codes; opt-in elections; earning-event-to-contribution linkage; state-rule versionsFive states since 2022; states and penalties not identified in source
HIPAA / GDPR / SOC 2 / EDI 834 / LDExBAA/DPA inventory; immutable access logs; EDI control numbers; RoPA/DSAR artifacts; schema-version pinning; restore testsNo violation or fine stated; SOC 2 Type II and LDEx are contractual controls, not legal mandates
05 — The Verdict

A Raw .bak File Without Extraction Provenance or Indexing Is an Engineering Failure Masquerading as Compliance.

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.

LEGAL DEMAND
clock · deadline · penalty
EVIDENCE FIELDS
rows · derived · metadata · receipts
VENDOR CAPABILITY
mapping · OCR · immutability · SLA
FAILURE MODE
grain · semantics · provenance · retrieval

Run a live extraction drill before signing. Otherwise the first real test arrives attached to a subpoena — or a 21-day statutory clock.

Techne Path — primary lockup