1What regulators require when retiring a computerized GxP system.
Shutting down an on-premises SQL database, legacy LIMS, SharePoint eQMS or end-of-life MES never shortens the retention clock on the records it created. Under 21 CFR 211.180, production, control and distribution records must be retained for at least 1 year after batch expiration (or 3 years after distribution for certain OTC products), while clinical, biologics and EU GMP rules often extend retention to 5 to 30 years depending on product type.1
EU GMP Annex 11 section 17 requires that archived data be checked for accessibility, readability and integrity, and that if relevant changes are made to the system, the ability to retrieve the data must be ensured and tested.2 Section 4.8 adds that during data migration, value and meaning must remain unaltered.2 21 CFR 11.10(b) and 11.10(c) require accurate and complete human-readable and electronic copies ready for FDA inspection throughout the retention period.3 MHRA further specifies that archiving arrangements must preserve dynamic metadata and audit trails, not merely flat summary printouts that lose context.4
2The three-bucket decommissioning decision matrix.
Trying to migrate 15 years of closed legacy transactions into live tables of a new eQMS or LIMS multiplies validation cost without adding operational value. Clean decommissioning splits legacy data into three controlled dispositions:
| Record bucket | Disposition | Required export bundle | Verification proof |
|---|---|---|---|
| Active records (effective SOPs, open CAPAs, active stability pulls, live recipes) | Migrate into the new validated system | Structured data + native attachments + version history reference | 100% count match + field-level value and meaning verification (data migration validation)2 |
| Closed records still within retention (released batches, closed deviations, obsolete SOPs, historical assays) | Export to a validated read-only archive | PDF/A human-readable dossier + CSV/Parquet structured tables + complete audit trail + e-signature manifests + original dynamic raw files where required | Source vs archive count reconciliation + SHA-256 checksum manifest + independent inspector retrieval test3, |
| Records past legal, regulatory and litigation-hold retention | Formal controlled disposal | Disposal certificate naming record ranges, retention SOP and legal/QA sign-off | Approved retention review and destruction log |
3Deterministic reconciliation proofs for SQL and file-store archives.
Inspectors routinely challenge archives that rely on a vendor’s verbal assurance that “everything was exported”. Deterministic reconciliation leaves objective, repeatable mathematical evidence:
- Freeze the legacy system at cutover. Switch all non-admin accounts to read-only, stop scheduled jobs and record the exact UTC freeze timestamp and final database backup checksum.
- Generate a source inventory manifest. Query the legacy database directly for exact row counts per table (batches, samples, deviations, CAPAs, documents, audit-trail events, electronic signatures) and byte sizes plus SHA-256 digests for every attached binary file.
- Build self-describing archive packages. For each entity (for example, one closed batch or one closed CAPA), bundle the rendered PDF/A report, its linked native attachments, the complete chronological audit trail (user, UTC timestamp, old value, new value, reason for change) and signature manifest, plus machine-readable CSV or Parquet tables for bulk queries.
- Reconcile 100% of counts and hashes. Run an independent verification script comparing source database counts and attachment SHA-256 digests against the archived object store. Investigate and document every variance (such as orphaned draft rows or corrupt legacy blobs) before sign-off.
- Run a timed mock-inspection retrieval test. Have a QA reviewer who did not build the archive retrieve 10 stratified records (covering the oldest year, newest year, a complex deviation with attachments and a signed batch record) within a defined target time (for example, under 15 minutes per record) and verify readability, signatures and audit trail completeness.5,
6
4Worked example: retiring a 12-year on-prem SQL LIMS.
Invented for illustration: Borealis Pharma decommissions its 2014 on-premises SQL Server LIMS after moving live QC testing to a modern cloud platform. The system holds 42,810 closed sample records, 189,402 test results, 31,204 PDF/raw instrument attachments and 1,412,088 audit-trail rows.
| Reconciliation check | Legacy SQL baseline | Read-only archive | Outcome |
|---|---|---|---|
| Closed sample dossiers (PDF/A + JSON + audit trail) | 42,810 | 42,810 | 100% match |
| Result rows in Parquet export + checksum | 189,402 | 189,402 | 100% match; numeric precision verified to 6 decimal places |
| Binary attachments (chromatograms, raw exports, CoAs) | 31,204 files (48.2 GB) | 31,204 files (48.2 GB) | 31,204 / 31,204 SHA-256 digests identical |
| Audit-trail rows linked to entities | 1,412,088 | 1,412,088 | 0 orphaned rows; UTC offsets preserved |
| Mock FDA retrieval test (12 stratified samples) | Selected by QA | All 12 retrieved in 3 to 9 minutes | Pass; signatures, timestamps and raw files readable |
Once QA approves the decommissioning report, IT snapshots the final virtual machine offline, revokes legacy database licenses, removes the retired system from active production and updates the computerized system inventory to list the archive repository with its periodic readability check schedule.
5How it runs in Seal.
Seal lets teams retire legacy eQMS, LIMS, eBR and on-premises SQL tools without carrying dead technical debt into live operations. Active workflows launch in Seal under data migration validation while historical exports remain indexed and retrievable beside your active records in the computer system assurance blueprint. See vendor-specific cutover playbooks starting with migrating from MasterControl or replacing paper batch records.
Open the whole screen in a new tabAQuestions and answers
Do we have to keep paying for legacy software licenses just to satisfy FDA record retention?
No. Provided you export accurate, complete human-readable and electronic copies (including metadata, dynamic raw files where required, electronic signatures and audit trails) into a validated read-only archive and verify retrieval, you can retire the legacy application and end recurring licenses.
Is exporting flat PDFs enough when archiving a legacy GxP database?
Only for static records where the PDF plus its audit trail and signature manifest captures all required data. For dynamic data such as chromatography files or structured stability datasets that may need re-analysis, retain the original electronic files or structured tables alongside the human-readable PDFs.
How often must a read-only GxP archive be tested after retirement?
Test retrieval immediately during decommissioning, whenever the underlying storage platform or viewer changes, and on a risk-based periodic schedule (commonly annually during computerized system periodic review) to confirm files remain uncorrupted and readable.
What if legacy audit trail rows cannot link cleanly to a few historical records?
Never silently drop mismatched rows. Document the exact discrepancy in a decommissioning deviation, explain the legacy root cause, retain the raw unlinked audit export intact in the archive and obtain QA sign-off on impact before decommissioning.
References6 sources
References
- 121 CFR 211.180, General requirements (records and reports), paragraphs (c) and (d), eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ section- 211. 180 (read 4 December 2026) - 2EudraLex Volume 4, Annex 11: Computerised Systems, European Commission, January 2011, sections 4.8, 7.1 and 17. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ annex11_ 01- 2011_ en_ 0. pdf (read 4 December 2026) - 321 CFR Part 11, Electronic Records; Electronic Signatures, sections 11.10(b), 11.10(c) and 11.10(e), eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- A/ part- 11 (read 4 December 2026) - 4‘GXP’ Data Integrity Guidance and Definitions, Revision 1, MHRA, March 2018, sections 6.13 and 6.20. https:/
/ assets. publishing. service. gov. uk/ media/ 5aa2b9ede5274a3e391e37f3/ MHRA_ GxP_ data_ integrity_ guide_ March_ edited_ Final. pdf (read 4 December 2026) - 5PI 041-1, Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments, PIC/S, 1 July 2021, section 9. https:/
/ picscheme. org/ docview/ 4234 (read 4 December 2026) - 6Data Integrity and Compliance With Drug CGMP: Questions and Answers, Guidance for Industry, FDA, December 2018, questions 1 and 10. https:/
/ www. fda. gov/ media/ 119267/ download (read 4 December 2026)