Retiring a Legacy GxP System: How to Decommission Without Losing Your Records

Retiring a Legacy GxP System: How to Decommission Without Losing Your Records RxCloud  |  therxcloud.com/gxp-data-archival-legacy-system-decommissioning/

Your old LIMS has not run a test in years. Yet it still needs a licence, a server and someone to patch it. Why? Because nobody is sure how to get the records out safely.

This is where GxP data archival comes in. Done properly, it moves your records and their context into a controlled archive. Then the old system can finally go.

However, many teams start in the wrong place. They plan the shutdown first and think about records later. In fact, turning off the server is the final step, not the start of the project. This guide explains what the rules require, and how to decommission without losing a single record.

Key takeaways
  • Archiving is complete only when data and metadata stay readable, retrievable and protected.
  • You do not need to keep an old system running if retrieval is proven elsewhere.
  • A PDF export or a database backup is rarely a complete archive.
  • The draft Annex 11 adds exit terms, migration rules and a final periodic review.
  • Switch the system off only after retrieval tests pass.
25 yrsMinimum for a clinical trial master file
5+ yrsEU batch records after QP certification
3Options for old records
7Steps to a safe shutdown

Why Legacy GxP Systems Linger for Years

After all, every new LIMS, QMS or ERP leaves an old one behind. Usually, the old system still holds batch records, test results or audit trails. So nobody wants to turn it off.

As a result, it becomes an expensive read-only environment. Even so, you still pay for licences, hosting, backups and support. Meanwhile, the platform gets old, and the people who know it move on.

There is also a security cost. Once a vendor stops releasing patches, the system becomes an easy target. In fact, the draft Annex 11 says such applications should be isolated from networks and the internet (section 15.12).

!

A read-only system is not risk-free. Admin accounts, interfaces or background jobs may still be able to write to it.

What the Rules Require for GxP Data Archival

Strictly speaking, no single rule is called “decommissioning”. Instead, several requirements meet at the moment you retire a system.

EU GMP Annex 11 (current, 2011)

First of all, clause 17 of the current Annex 11 says archived data should be checked for accessibility, readability and integrity. Also, if the system changes, you must make sure the data can still be retrieved, and test it.

US 21 CFR Part 11

Similarly, section 11.10(c) requires protection of records for accurate and ready retrieval throughout the retention period. Moreover, section 11.10(b) expects accurate and complete copies for inspection. You can read both on the official eCFR page for 21 CFR 11.10.

The draft Annex 11 revision (July 2025)

The draft has no separate decommissioning chapter. However, it touches retirement in several places:

  • Section 7.5(viii). Contracts should define an exit strategy that keeps your data under your control.
  • Section 10.3. Migrating data from a retired system needs a validated process.
  • Section 14.3. A final periodic review should take place when a system is taken out of use.
  • Section 15.11. Migration should finish before the vendor’s support ends.
  • Section 17. Archives should be read-only, checked with checksums and searchable.

For the full picture, see our guide to the EU GMP Annex 11 revision.

Retention periods you must cover

Record typeMinimum retentionSource
EU batch documentation1 year after expiry or 5 years after QP certification, whichever is longerEU GMP Chapter 4
Investigational product batch records5 years after the last trial endsEU GMP Chapter 4
Data supporting a marketing authorisationAs long as the authorisation is in forceEU GMP Chapter 4
Clinical trial master fileAt least 25 years after the trial endsEU Regulation 536/2014, Art. 58

In short, a GxP data archival plan often has to outlive the vendor, the software and even the archive media itself.

When Is GxP Data Archival Actually Complete?

This is where most projects go wrong, because archiving is complete only when four things are true:

  1. Data and metadata are moved. That includes audit trails, signatures, versions and links between records.
  2. Records stay readable. A person can open and understand them without the old software.
  3. Records stay retrievable. You can find, sort and export them for as long as you must keep them.
  4. Records are protected. Nobody can change or delete them, and you can show that.
Four tests that show GxP data archival is complete before a legacy system is switched offWhen Is GxP Data Archival Complete?Four tests to pass before you switch anything off25 yearsclinical trial master file5+ yearsbatch records after QP releaseData and metadata are movedAudit trails, signatures and context travel with the records.Records stay readableA person can open and understand them without the old system.Records stay retrievableYou can search and export them for the full retention period.Records are protectedNobody can change or delete them, and you can prove it.RxCloud | therxcloud.com
Four tests that show GxP data archival is complete before a legacy system is switched off

Turning off the server is the final step of decommissioning, not the start of the project.

Do We Have to Keep the Old LIMS or ERP Running for Ten Years?

This is the question we hear most. Fortunately, the short answer is no. You only need the old system while it is the only way to read the records.

Once GxP data archival is complete and retrieval is proven, the system can go. Until then, keep it as a controlled, read-only fallback. So the real choice is where your records should live next.

Three options for legacy GxP records: read-only system, migration, or a validated archiveThree Ways to Keep Old RecordsPick the target by risk, cost and how often you need the data1Keep the old system read-onlyQuick, but you keep paying licences, patches and support.2Migrate to the new systemGood for live data you still use. Needs a validated migration.3Move to a validated archiveBest for history you rarely read. The old system can then go.RxCloud | therxcloud.com
Three options for legacy GxP records: read-only system, migration, or a validated archive
OptionBest forWatch out for
Keep read-onlyA short bridge while you migrate or archiveLicences, patches, staff knowledge and hidden write access
Migrate to the new systemLive data you still use every weekMapping errors, lost metadata, extra validation
Validated archiveHistorical records you read rarelyProving retrieval, readability and long-term ownership

Often, the answer is a mix. For example, you might migrate open batches and archive closed ones.

A 7-Step Plan for Decommissioning Without Losing Records

These steps follow the order an inspector would expect. Moreover, each one also leaves evidence behind.

A seven-step plan for GxP data archival and legacy system decommissioningA 7-Step Decommissioning PlanTurning off the server is the last step, not the first1Name an owner and scopeAgree who approves the shutdown.2Inventory data and metadataInclude audit trails, signatures and links between records.3Choose the target by riskRead-only, migration or validated archive.4Validate the transferProve nothing changed, for example with checksums.5Test retrieval with real usersRun the searches an inspector would ask for.6Run the final review and sign offThen shut down the system and its interfaces.7Keep the archive healthyBack it up, refresh media and recheck access.RxCloud | therxcloud.com
A seven-step plan for GxP data archival and legacy system decommissioning

1. Name an owner and set the scope

First, name one accountable owner. Then agree which systems, interfaces and data are in scope, and who approves the shutdown.

2. Inventory data and metadata

Next, list what the system holds. Then go beyond tables and files. Include audit trails, electronic signatures, versions, attachments and the links between records.

3. Choose the target by risk

For each data set, choose read-only, migration or archive. Then base the choice on risk, how often people read it and how long you must keep it.

4. Validate the transfer

Then prove nothing changed. Compare record counts and use checksums where you can, as section 17.2 of the draft suggests. Also, record every deviation and how you fixed it.

5. Test retrieval with real users

Ask the people who will use the archive to run real searches, because they know what inspectors ask for. For instance, find one batch record with its full audit trail. If they cannot, you are not ready.

6. Run the final review and sign off

After that, run a final periodic review of the old system. Then close user accounts and interfaces, and approve the shutdown against agreed criteria.

7. Keep the archive healthy

Finally, archiving does not end at go-live. So back up the archive, refresh old media and recheck access at set times. Our data integrity guide explains why this ongoing control matters.

The Real Problems Teams Are Facing

These problems come up again and again in decommissioning projects. Some may sound familiar.

Problem 01

The PDF that lost the audit trail

The team exported every record to PDF. However, the audit trails and signatures stayed behind. So the archive shows results but not who changed them.

Problem 02

The backup nobody can open

For example, a full database backup sits on storage. Yet it can only be read with the old software, which is now gone.

Problem 03

The “read-only” system that writes

The system was set to read-only, so it seemed safe. Still, a nightly interface kept updating one table for months.

Problem 04

Shut down before testing

The server was switched off on schedule, before retrieval was tested. Then an inspector asked for a record, and nobody could find it.

Problem 05

No exit clause

The SaaS contract covered uptime and price. However, it said nothing about getting data back in a usable form.

Problem 06

An archive with no owner

The project closed, and then the team moved on. As a result, nobody checked whether the archive still worked.

Is Anyone Handling This Well?

Yes. The best-run decommissioning projects treat GxP data archival as a planned step, and they share a few habits.

  • First, they plan GxP data archival at the start of every new system project.
  • They also write exit terms into every software and cloud deal.
  • In addition, they test retrieval before they set a shutdown date.
  • Finally, they give the archive a named owner after the project closes.

How RxCloud Helps With GxP Data Archival

Does RxCloud have a solution for these problems? Yes. Our rKive framework is built for decommissioning and data archival in life sciences. It covers:

  • Strategy and roadmap. A decommissioning plan, plus rationalisation and impact analysis of legacy systems.
  • Extraction and archival. Secure data extraction, and archive design and implementation.
  • Validation. Validation documents and compliance frameworks, backed by our computer system validation team.
  • Governance. Retention policy alignment and audit-ready metadata catalogues and reports.

For example, typical cases include retiring old applications after an SAP or Veeva rollout, or clearing clinical and manufacturing systems before a move to the cloud. For the validation side, see our guide to the V-model in computer system validation.

Frequently Asked Questions

What is GxP data archival?

GxP data archival is the controlled move of regulated records, with their metadata, into storage where they stay readable, retrievable and protected from change for the full retention period. It lets you retire the system that created them.

Do we have to keep the old LIMS or ERP running to read the records?

No, not if the records move to a validated archive or a new system. Both the data and its metadata must go, and you must prove you can still find and read them. Until then, the old system stays as a controlled, read-only fallback.

How long must GxP records be kept?

It depends on the record. EU batch records need at least one year after expiry or five years after QP certification, whichever is longer. A clinical trial master file needs at least 25 years. Records that support a marketing authorisation stay for as long as it is in force.

Is a PDF export or a database backup enough?

Usually not. A PDF may lose audit trails, signatures and context. Likewise, a backup can only be read with the old software. Neither shows that records are retrievable and complete.

What does the revised Annex 11 add for decommissioning?

The July 2025 draft asks for a contract exit strategy that keeps your data under your control. It also covers validated migration, a final periodic review at retirement, and migration before vendor support ends. Section 17 adds read-only archives, checksum checks and searchable retrieval.

The Bottom Line

In short, an old system should not stay alive just because nobody trusts the exit. GxP data archival gives you that exit, with proof.

So move the data and the metadata, test retrieval with real users and assign an owner. Only then switch off the server. That way, the records outlive the system, exactly as the rules expect.

Planning to retire a legacy GxP system?

RxCloud’s rKive framework helps life sciences teams decommission old applications and archive regulated data with full validation and audit-ready evidence. If you would like a second opinion on your plan, our team is happy to compare notes.

Talk to our archival team
Keep this guide Download the full article as a PDF to share with your QA, IT and validation teams.

Sources

  1. European Commission, EudraLex Volume 4: EU GMP guidelines, including Annex 11 and Chapter 4 — health.ec.europa.eu
  2. European Commission, Draft Annex 11: Computerised Systems, consultation version, July 2025 — health.ec.europa.eu
  3. US eCFR, 21 CFR 11.10: Controls for closed systems — ecfr.gov
  4. Regulation (EU) No 536/2014 on clinical trials, Article 58 — eur-lex.europa.eu
Note: Section numbers for the revision refer to the July 2025 consultation draft of Annex 11, which is not yet final. Retention periods vary by product, market and record type. This article is general information, not regulatory or legal advice.