Skip to main content

How do you validate a data migration from one GxP system to another?

Treat the migration as a validated process with its own plan. Inventory the data and metadata, map every field, and rehearse with mock data and full dry runs. Then compare everything a machine can: record keys in both directions, file checksums and field-by-field hashes of key data. Review a random and a targeted sample on the new system for meaning, keep the mapping, keep audit trails linked to their records, and keep old records readable until their retention period ends.Checked against its sources on 26 November 2026. How these answers are made

Illustration of a seal resting on four bound volumes, Requirements, Configuration, Verification and Change control, with a red ribbon running through them all.

A data migration moves records permanently from one system into another, for example when the old one is losing vendor support. EU GMP Annex 11 asks that validation “include checks that data are not altered in value and/or meaning during this migration process”.1 Neither Part 11 nor Part 211 uses the word migration, but 211.68(b) requires computer input and output to “be checked for accuracy”, and Part 11 protects records “throughout the records retention period” (11.10(c)).2,3

1The steps, and the record each produces.

StepWhat you doOwnerRecord it produces
1. InventoryEach object (results, documents, signatures, files, audit trails), count, criticality, retention; profile for defectsProcess ownerData inventory, source profile
2. Risk assessmentHow each object could be lost, truncated or unlinked, and the check that catches itProcess owner, QARisk assessment
3. MappingMap each field, with transformation rules and value listsProcess owner, ITMapping specification, kept
4. PlanWrite it from the template belowSystem owner; QA approvesMigration plan
5. Mock-data runRecords built to exercise every mapping rule and edge caseIT or vendorTest record
6. Dry runsMigrate a copy of production, reconcile, fix, repeat until clean; time each stageIT or vendorDry-run reports
7. Final runFreeze the source and run the full migrationIT or vendorExecution log
8. VerificationRun the checklist below, then the sampled reviewProcess owner, QAVerification record
9. ReportSummarize results and deviations; go live only once QA releases it with no open deviation on key dataSystem owner; QA releasesMigration report
10. Source dispositionKeep read-only until an archive restore is tested; delete data only after its retention ends or the copy is verified, for example by checksum1,4,5System owner, QARetirement record

Owners are a suggested split, using Annex 11’s process owner and system owner.1 EMA’s clinical trial guideline adds a rehearsal in which “the intended procedure should be validated with mock data”, and a check afterwards “focused on key data”.6

Where a client owns the data, as at a CDMO, the quality agreement should say who migrates, verifies, approves and keeps the records: EU GMP Chapter 7 says records of outsourced activities “should be kept by, or be available to, the Contract Giver” (7.16), and FDA asks agreements to set roles “in making and maintaining original documents or true copies”.7,8

1.1How long it takes.

No regulator cited here sets a duration. Size the outage from the timed stages of each dry run, and rehearse the whole cutover in the last one. Draft Annex 11 clause 15.11, on operating systems and platforms, says migration of data “should be planned and completed in due time prior to the expiry of the vendor’s support”.5

2Data migration validation checklist.

Table 2. Reconciliation checklist for a GxP data migration. EMA 6.10 and FDA 2024 are clinical texts, used here by analogy.6,1,2,3,9,4,10,11
CheckHowCoveragePass whenBasis
Record countsCount by object, status and year on both sidesAll objectsEqual after approved exclusionsEMA 6.10
Keys, both waysFind every source key in the target and every target key in the sourceAll recordsNone unmatched or duplicated beyond the documented baseline and exclusionsPIC/S 9.4; Annex 11 4.8
RejectsReview the tool’s reject and warning logsEvery entryNone unresolvedAnnex 11 4.8
Field valuesHash (a short fingerprint of a value) the normalized key fields of each recordAll key data100% matchAnnex 11 4.8; 211.68(b)
Attached filesChecksum each file before and after, such as SHA-⁠256All files100% matchEMA 6.10
RelationshipsSample to batch, result to specification, document to revisionAll linksNo new orphansEMA 6.10
Master dataCompare test codes, units, specifications and value listsAll lists100% match or documented mappingWHO Annex 4, App. 1
ConfigurationCalculations, method versions, report templatesDefined setSame results on the same inputsWHO Annex 4, 9.5; MHRA 6.11.2
SignaturesPrinted name, date and time, and meaning, linked to the recordAll signed recordsComplete and linked11.50; 11.70
Audit trailsCount and checksum the trail; open a sample on screenWhole trail, plus sampleCounts and checksums match; every record links to its history; sampled entries completeEMA 6.10; FDA 2024 Q12
Meaning on screenUnits, qualifiers, decimals, limits, calculationsRandom and targeted sampleZero errorsAnnex 11 4.8; MHRA 6.8
Time stampsTime zone, clock changes, date formatEither side of each clock changeZero errorsMHRA 5.1; PIC/S 9.8; FDA 2024 Q14
RollbackRestore the pre-migration backup to a test instanceOne full restore in a dry runCounts and hashes equal the backup; restored within the planned outageAnnex 11 7.2

Counts can match when a missing record and an extra one cancel out; keys matched both ways cannot. Hash a normalized form, converting only the format on both sides, so a new date layout is not a false mismatch. Build the comparison separately from the load: if it reuses the mapping’s transformation, a wrong mapping passes. Prove each comparison script can fail by running it on a copy seeded with missing, duplicated and altered records: Annex 11 wants automated testing tools to “have documented assessments for their adequacy” (4.7).1

2.1Defects already in the source.

Legacy data bring faults of their own: duplicate keys, orphaned records, blanks and default values. Profile the source before mapping and record each fault as a baseline. Then correct it in the source before the copy, with the reason in its audit trail (Annex 11 9); migrate it as an approved exception the report lists; or exclude it with a justification. Never repair values in the transformation: migration may change the format of data, “but not the content or meaning” (MHRA 6.8).1,4 A documented baseline defect passes the key and relationship checks; one the migration introduced fails them.

3Migration plan and report template.

3.1Plan.

  1. Scope: versions, reason, exclusions.
  2. Roles: owners, QA, IT, vendor or client; who approves each run.
  3. Inventory: objects, counts, criticality, key data, retention.
  4. Risks: failure modes per object and the check for each.
  5. Mapping: controlled specification, transformation rules, value lists.
  6. Tools: scripts or vendor utility, and how each is tested, including seeded defects.
  7. Verification: source profile and baseline defects, checklist rows, sample sizes, acceptance criteria, approved exclusions, no tolerance for key data.
  8. Runs: mock data, timed dry runs, freeze, final run, cutover, rehearsed restore, rollback criteria, and what happens to records made after go-live.
  9. Audit trails, signatures, metadata: the option chosen from the decision table.
  10. Source disposition: read-only period, archive, decommissioning, destruction, approvers.

3.2Report.

  1. Conclusion: data complete, unaltered in value and meaning, fit for use.
  2. Execution: run dates and timings, tool versions, counts at freeze.
  3. Reconciliation: one row per checklist item, counts on both sides.
  4. Sampled review: size, how drawn, findings.
  5. Deviations: each one, cause, fix, confirming rerun.
  6. Exceptions: baseline defects migrated as they stand; data not migrated, why, where kept.
  7. Sign-off: source status, then approval by system owner, process owner and QA.

3.3Example mapping row and test cases.

Table 3. Example. One row of an invented mapping specification, from the qualifier defect below.
Source fieldTarget fieldTransformationValue listKey data
RESULT_TXTresult_value, qualifierMove a leading “<” or “>” into qualifier; keep the number in result_valueQualifier: “<”, “>”, blankYes
Table 4. Example. Test cases from an invented migration plan.
IDObjectiveMethodAcceptanceResult
TC-⁠04No silent rejectsRun the load; review the reject logZero unresolved rejectsDry run 2 failed, 11 rejects (DEV-⁠03); final run passed
TC-⁠09Qualifiers surviveHash result, unit and qualifier on both sides100% matchDry run 2 failed, 1,876 results (DEV-⁠04); final run passed
TC-⁠14Time stamps keep meaningCompare 40 approvals either side of each clock change on screenZero errorsAdded after the dry run 2 sampled review failed (DEV-⁠05); final run passed

4How many records to check by hand?

The automated comparison shows values arrived unchanged; the sampled review shows the target presents them with the same meaning. A random sample with zero errors lets you say, at a chosen confidence, that fewer than a proportion p of records are wrong, when its size is at least n = ln(1 − confidence) / ln(1 − p).

Table 5. Zero-error sample sizes for the sampled review.
Error rate ruled out95% confidence99% confidence
5%5990
2%149228
1%299459
0.5%598919
0.1%2,9954,603

These hold for populations much larger than the sample; if there are only a few hundred records, check every one. Add hard cases, such as invalidated out-of-specification results; they find defects but do not count toward the claim. One error voids the claim: fix the cause, rerun and draw a new sample.

5Audit trails and metadata: migrate, keep or copy?

Metadata are part of the record. EMA: “Data, contextual information, and the audit trail should not be separated.”6

OptionFits whenYou must showBasis
Native importThe target can record the original user, time, old and new valuesEntries match the source in count and contentAnnex 11 4.8
Linked historyThe target cannot write foreign historyRead-only, searchable, linked to each recordEMA 6.10; FDA 2024 Q&A (both clinical)
Source kept read-onlyOnly the old software can reprocess the dataAccess controlled, validated, retrieval testedPIC/S 9.4; MHRA 6.17.1
Dynamic archiveThe source will be decommissionedRestorable with metadata and audit trailsEMA 6.12; MHRA 6.11.2
Static true copyThe original was static, or a risk assessment justifies itVerified copies of data, metadata and audit trailMHRA 6.11.2; 211.180(d)

The static row is narrow. FDA says a printout of dynamic data “would not satisfy CGMP requirements to retain original records or true copies (§ 211.180(d))”.12 For clinical audit trails FDA allows PDF “If this is not practical” to keep them searchable; EMA says “Static formats of dynamic data will not be considered adequate.”11,6

6Example: a LIMS-to-⁠LIMS migration.

All names are invented. Vellacombe Biologics is replacing LIMS-⁠A, whose vendor support ends on 31 December 2026, with LIMS-⁠B in its quality control laboratory. Its key data are results, units, qualifiers, specification limits, the sample-to-batch link and each sample’s two signatures, review and approval.

A 2,000-record mock-data run found three mapping defects; dry run 2, on a copy of production, found three more problems.

  1. The tool rejected 11 results whose test codes were retired in LIMS-⁠A in 2019 and had no mapping. The fix mapped retired codes to inactive methods.
  2. The hash comparison flagged 1,876 results with a qualifier, such as <0.05, which had loaded as the number 0.05. The fix added a qualifier field to the mapping. These were about 0.38% of results, so a 299-record random sample had about a one-in-three chance of containing none of them (0.9962^299 ≈ 0.32). That is why hashes, not samples, carry the value checks.
  3. The sampled review found approvals made during British Summer Time shown an hour late: LIMS-⁠A stored local time without an offset and LIMS-⁠B read it as UTC. The hashes matched, because only the meaning had changed. The fix recorded the time zone, and the review added 40 records either side of each clock change.

Dry run 3 was clean and took 26 hours from extract to reconciled counts, so the plan booked a weekend outage. The final run, a full run from the frozen source, began at 18:00 on Friday 16 October 2026.

Table 7. Vellacombe final-run reconciliation, 17 October 2026.
ObjectLIMS-⁠ALIMS-⁠BResult
Samples61,51261,512Match
Results498,690498,690Hashes 498,690 of 498,690
Signatures123,024123,024Name, time and meaning present
Attached files18,40718,407SHA-⁠256 match
Audit trail entries3,409,2183,409,218Linked history, checksums match

A random sample of 299 results across the laboratory’s 14 products, plus 25 hard cases, found no errors. That supports a claim, at 95% confidence, that fewer than 1% of results are presented wrongly for the attributes reviewed. LIMS-⁠A stays read-only in a virtual machine, open only to named reviewers, until an archive restore has been tested; then it is decommissioned.

7What an investigator asks for after a migration.

No regulator cited here publishes a migration checklist. PIC/S, writing partly for inspectorates, says to check for “appropriate verification of the complete migration of data”.10 From that and Annex 11, expect to be asked for:

  • the approved plan, executed test cases and QA-released report (PIC/S 9.4; MHRA 6.8);
  • the controlled mapping specification, kept after go-live (EMA 6.10);
  • reconciliation evidence: counts, hashes, scripts, reject logs, the sampled review, and each failure with its fix and rerun (Annex 11 4.8);
  • where the old audit trail lives and how a reviewer opens it (Annex 11 9);
  • dated archive restore and readability tests (Annex 11 17).

Enforcement shows what a static copy cannot replace. FDA to BBC Group Limited in 2021, under 211.68(b), after its data were lost:13

While your firm retained a static copy of laboratory records for review (i.e., paper record), they were inadequate as they did not preserve the dynamic record format of the full chromatographs to support test results and they did not include system suitability documentation that are part of the complete, original record.

8What changed in 2024 to 2026.

The European Commission’s draft Annex 11, open for comment from 7 July to 7 October 2025, says a migration “should be based on a validated process” (10.3).14,5 Until a final text is published, the 2011 annex, still listed in EudraLex Volume 4, applies to human medicines.15 EU veterinary medicines have had their own binding text since 16 July 2026: “it shall be verified that the migration process has not altered the data (in value or meaning)” (Implementing Regulation (EU) 2025/2091, Annex IV, III.7).16

9How it runs in Seal.

A matched record count does not show that history and relationships survived. Neil can reconcile a controlled-document migration: it matches source documents, revisions, approvals and references against the migration inventory and drafts a gap list, such as prior revisions with no mapping. The migration and quality owners verify fidelity and decide whether to accept the target.

In Seal, each release of the new system is checked against the configuration actually deployed, as described in computer system validation with CSA. For laboratory data, Seal’s scientific data management keeps each instrument acquisition linked to its result, batch and investigation, puts format, parser and mapping changes under change control with their own verification, and expects restore and readability of archived files to be tested rather than assumed from storage.

Requirement REQ-03 in Seal for SampleTrack LIMS, a fictional system: reportable values stated to two decimal places, risk High because rounding changes the reported value against the limit, and coverage by test T-03, passing on version 4.3.0. Signed and published at v1.Open the whole screen in a new tab
Figure 1. REQ-⁠03 in Seal: a requirement rated High risk, the reason, and the test that covers it, passing on 4.3.0.
Watch your own SOP run in Seal

AQuestions and answers

Can the old system be switched off after migration?

Only when every record it holds has either been migrated and verified or archived in a form that stays readable for its full retention period, and the decommissioning is approved and recorded. If dynamic data, such as chromatograms, cannot be converted without losing the ability to reprocess them, keep the old software available, for example read-only in a virtual machine with controlled access.

Do audit trails have to be migrated?

They have to stay with their records for as long as the records are kept, which is not the same as importing them into the new system’s own audit trail. Where the target cannot record another system’s users, times and old and new values, carry the history across as read-only entries linked to each record, or keep the old system readable. Losing the link between a record and its history is what fails.

What is the difference between data migration and data transfer?

EMA’s clinical trial guideline separates them: migration, as opposed to transfer, permanently moves existing data and metadata from one system into another. A transfer moves data between systems as part of normal work, such as results passing from an instrument to a LIMS, and is validated with that interface. A migration is usually a one-off project when a system is replaced, with its own plan, reconciliation and report.

Can we rely on the vendor’s migration tool?

You can use it, but its output still has to be verified against your own source. The vendor’s testing shows the tool works on its test data; only your reconciliation shows that your records, with your configuration, value lists and history, arrived unchanged. Record the tool’s version, test it in the mock-data run, and review its reject and warning logs on every run.

Is a software upgrade a data migration?

It can be. OECD’s GLP guidance on computerized systems lists version upgrades among its examples of data migration, and counts converting data to another format, such as a proprietary format to PDF, as migration. Where an upgrade converts the database or file formats, plan and verify the conversion like any migration, including archived data the new version must still open. An upgrade that leaves stored data untouched usually needs change control and regression testing rather than a migration plan.

References16 sources

References

  1. 1EudraLex Volume 4, Annex 11: Computerised Systems, European Commission, January 2011. https://health.ec.europa.eu/system/files/2016-11/annex11_01-2011_en_0.pdf (read 26 November 2026)
  2. 221 CFR Part 211, eCFR. https://www.ecfr.gov/current/title-21/chapter-I/subchapter-C/part-211 (read 26 November 2026)
  3. 321 CFR Part 11, sections 11.10, 11.50 and 11.70, eCFR. https://www.ecfr.gov/current/title-21/chapter-I/subchapter-A/part-11 (read 26 November 2026)
  4. 4GXP Data Integrity Guidance and Definitions, Revision 1, MHRA, March 2018, sections 5.1, 6.8, 6.11.2 and 6.17. https://assets.publishing.service.gov.uk/media/5aa2b9ede5274a3e391e37f3/MHRA_GxP_data_integrity_guide_March_edited_Final.pdf (read 26 November 2026)
  5. 5Annex 11: Computerised Systems, draft for consultation, European Commission, July 2025. https://health.ec.europa.eu/document/download/40231f18-e564-4043-94de-c031f813d38b_en?filename=mp_vol4_chap4_annex11_consultation_guideline_en.pdf (read 26 November 2026)
  6. 6Guideline on computerised systems and electronic data in clinical trials, EMA/INS/GCP/112288/2023, EMA, adopted 7 March 2023. https://www.ema.europa.eu/en/documents/regulatory-procedural-guideline/guideline-computerised-systems-and-electronic-data-clinical-trials_en.pdf (read 26 November 2026)
  7. 7EudraLex Volume 4, Chapter 7: Outsourced Activities, European Commission, in operation from 31 January 2013. https://health.ec.europa.eu/system/files/2016-11/vol4-chap7_2012-06_en_0.pdf (read 26 November 2026)
  8. 8Contract Manufacturing Arrangements for Drugs: Quality Agreements, guidance, FDA, November 2016, section IV.B.1.f. https://www.fda.gov/media/86193/download (read 26 November 2026)
  9. 9Guideline on data integrity, WHO Technical Report Series No. 1033, Annex 4, WHO, 2021. https://cdn.who.int/media/docs/default-source/medicines/norms-and-standards/guidelines/inspections/trs1033-annex4-guideline-on-data-integrity.pdf (read 26 November 2026)
  10. 10Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments, PI 041-⁠1, PIC/S, 1 July 2021, sections 9.4 and 9.8. https://picscheme.org/docview/4234 (read 26 November 2026)
  11. 11Electronic Systems, Electronic Records, and Electronic Signatures in Clinical Investigations: Questions and Answers, guidance, FDA, October 2024, questions 12 and 14. https://www.fda.gov/media/166215/download (read 26 November 2026)
  12. 12Data Integrity and Compliance With Drug CGMP: Questions and Answers, guidance, FDA, December 2018, questions 1 and 10. https://www.fda.gov/media/119267/download (read 26 November 2026)
  13. 13Warning Letter 320-⁠21-⁠53 to BBC Group Limited, FDA, 4 August 2021. https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/warning-letters/bbc-group-limited-614659-08042021 (read 26 November 2026)
  14. 14Stakeholders’ Consultation on EudraLex Volume 4, Good Manufacturing Practice Guidelines: Chapter 4, Annex 11 and New Annex 22, European Commission, 7 July to 7 October 2025. https://health.ec.europa.eu/consultations/stakeholders-consultation-eudralex-volume-4-good-manufacturing-practice-guidelines-chapter-4-annex_en (read 26 November 2026)
  15. 15EudraLex Volume 4, Good Manufacturing Practice guidelines, European Commission. https://health.ec.europa.eu/medicinal-products/eudralex/eudralex-volume-4_en (read 26 November 2026)
  16. 16Commission Implementing Regulation (EU) 2025/2091 of 17 October 2025 laying down good manufacturing practice for veterinary medicinal products, applying from 16 July 2026, Annex IV, point III.7, EUR-⁠Lex. https://eur-lex.europa.eu/eli/reg_impl/2025/2091/oj/eng (read 26 November 2026)

See your process in Seal.

Bring a procedure or a recurring problem. See how your team configures it with Neil and improves the next run.