Compliance

Regulatory Data Migration: Retention, Residency, and Audit Obligations

A regulated migration differs from an ordinary one in that you must be able to prove afterwards what moved, what did not, who authorised it, and that nothing was altered in transit.

RASPSYS Admin10 min read

Short answer

A regulated migration differs from an ordinary one in that you must be able to prove afterwards what moved, what did not, who authorised it, and that nothing was altered in transit. This guide covers the evidence a regulated migration has to produce, handling retention and residency, lawful basis, and what to agree with your data protection officer before anything moves.

What Makes a Regulated Migration Different

Every migration should be careful. A regulated migration has an additional requirement: you must be able to demonstrate, potentially years later and to someone who was not there, exactly what happened.

That changes the deliverables. An ordinary migration succeeds when the data is in the new system and the business is working. A regulated migration succeeds when it is in the new system, the business is working, and there is an evidence pack showing what moved, what did not and why, who authorised each decision, that integrity was preserved, and that retention obligations survived the move.

Requirement Ordinary migration Regulated migration
Scope decisions Agreed verbally, recorded in a plan Documented with a named approver and the reasoning, retained
Integrity Record counts reconciled Cryptographic verification that content was not altered in transit
Exclusions Noted Justified against a policy, approved, and evidenced
Retention Rarely considered Clocks preserved; retention schedules carried across
Access during migration Whoever needed it Logged, least privilege, time-bounded
Evidence A sign-off email A pack an auditor can read without your help

The practical consequence is that a regulated migration costs more and takes longer, and that the additional work is almost entirely documentation and verification rather than technical complexity. Budget for it explicitly; it is routinely left out of estimates and then discovered during a pre-migration review.

Discuss a regulated migration with RASPSYS →

Retention Obligations Do Not Reset

A frequent and serious error is treating migrated records as new. If a record must be retained for seven years from creation, migrating it in year five does not restart the clock — and a new system that calculates retention from the migration date will keep it two years too long, or delete it two years early.

Neither error is acceptable. Over-retention is a breach of data minimisation and increases exposure; under-retention may destroy records you are legally obliged to keep.

  • Carry the original dates. Created date, and whatever date the retention clock actually runs from — which is often not creation. Closure, last transaction, or contract end are common.
  • Migrate the retention category. If records are classified by retention schedule in the source, that classification has to move with them.
  • Handle legal holds explicitly. Records under hold must not be deleted regardless of schedule, and the hold status must survive the migration.
  • Document records already past retention. Migrating data you should have destroyed imports a breach. Deleting it during migration needs authorisation and a record.
  • Verify the destination enforces it. Salesforce does not implement retention schedules natively; you will be building or buying that capability.

A question to ask early

In the target system, what mechanism will actually delete a record when its retention period expires? If the answer is "we will deal with that later", the migration is importing a future compliance problem. Design the deletion mechanism alongside the migration, even if it is not switched on immediately.

Data Residency and Cross-Border Transfer

Where data physically sits, and which jurisdictions it crosses during migration, are separate questions and both matter. A migration can be compliant in its end state and non-compliant in its process.

The common failure is the staging environment. Data extracted from an EU production system, staged on a developer laptop or a cloud bucket in another region, then loaded into an EU-hosted target, has crossed a border — even though both ends are compliant.

Consideration Question to answer Common oversight
Target region Which region is the Salesforce instance hosted in? Assumed rather than confirmed at contract
Staging location Where does extracted data physically rest during migration? A laptop, a shared drive, or a bucket in the wrong region
Tooling Where does your migration tool process data? SaaS migration tools may process in a different region
Team location Who accesses the data, and from where? Offshore delivery teams accessing production extracts
Backups Where do backups of the staged data live? Backups replicate to a region nobody checked
Sub-processors Which third parties touch the data? The list is longer than expected and needs documenting

None of these is necessarily a blocker. Cross-border processing is lawful under the right safeguards. The requirement is that it is identified, assessed, documented, and covered by the appropriate contractual mechanism before it happens rather than discovered in an audit afterwards.

Lawful Basis, Consent, and the Right to Erasure

Under GDPR and comparable regimes, every processing activity needs a lawful basis, and migration is a processing activity. In most cases it is covered by the same basis as the original processing, but there are cases where it is not and they are worth identifying.

Consent is the main complication. If some records were collected under consent, that consent has to migrate with them, including its scope, the date it was given, and any subsequent withdrawal. A migrated marketing database where consent status did not come across is a direct route to a complaint.

01

Map the lawful basis per data category

Contract, legitimate interest, consent, legal obligation. Different categories may differ.

02

Migrate consent as data, not as a setting

Scope, timestamp, source, and withdrawal must be fields that travel with the record.

03

Honour withdrawals made before migration

Someone who unsubscribed in the old system must stay unsubscribed. Verify this specifically.

04

Carry erasure records

Where data was erased on request, keep the suppression record so it is not reintroduced from an old backup.

05

Check the privacy notice still covers it

A materially different system or new processing purpose may require an update and, occasionally, notification.

06

Document a DPIA if required

Large-scale migration of sensitive data commonly triggers the threshold; check rather than assume.

The suppression list point is subtle and important. Erasure requests are satisfied by deleting the data, which means there is no record to prevent the same individual being re-added from an older source. A suppression list of hashed identifiers is the standard answer, and it must survive the migration.

Plan a GDPR-compliant migration →

The Evidence Pack You Will Be Asked For

The defining deliverable of a regulated migration is an evidence pack that someone unfamiliar with the project can read and conclude that the migration was controlled. Assemble it as you go; reconstructing it afterwards is painful and less convincing.

Artefact What it contains Why it is asked for
Scope statement What was in scope, what was excluded, and the approver for each decision Establishes that exclusions were deliberate rather than accidental
Data map Source field to target field, with transformation logic Shows lineage; the first thing an auditor asks for
Integrity evidence Checksums or hashes on extract and load, demonstrating no alteration Proves content was not changed in transit
Reconciliation report Counts, totals, and business report comparison with sign-off Demonstrates completeness
Access log Who had access to migration data, when, and under what authorisation Demonstrates least privilege was applied
Exception register Every record that failed, why, and how it was resolved The absence of an exception register is itself a finding
Retention mapping How retention categories and clocks were carried across Shows obligations were preserved rather than reset
Disposal certificate Confirmation that staging copies were securely destroyed Migration copies are a common source of later breaches

The last row is one of the most frequently missed. Migration projects create extracts, staging databases, test loads, and backups. Each is a copy of regulated data, often with weaker controls than production. Track them from the outset and destroy them on a defined schedule, with a record.

Handling Exceptions Defensibly

Every migration has records that will not load — invalid formats, failed validation, missing mandatory values, broken relationships. In an ordinary migration these are fixed or quietly dropped. In a regulated migration, every one must be accounted for.

  • Capture every rejection with its reason. Automatically, to a register, not to a log file someone reviews once.
  • Categorise rather than list. Three thousand rejections usually reduce to five causes, and five causes can be decided on.
  • Decide per category with an owner. Fix and reload, migrate with a documented correction, exclude with justification, or escalate.
  • Never silently transform. If a value is corrected to make it load, that correction is itself a record that must be evidenced.
  • Reconcile the register. Rejected plus loaded must equal extracted. If the arithmetic does not work, records are unaccounted for.

That final check is the single most useful control in a regulated migration, and it is remarkably often absent. If extracted, loaded, and rejected counts do not reconcile exactly, some records went somewhere nobody can describe — which is precisely the finding an audit is designed to surface.

Working With Your Data Protection Officer

The most common process failure in a regulated migration is involving the data protection officer or compliance function at sign-off rather than at design. By then the decisions that matter have been made and changing them is expensive.

01

Brief at kickoff

Scope, data categories, systems, regions, and who will have access. Before design, not after.

02

Agree the DPIA position

Whether one is required, and if so complete it before extraction begins.

03

Get the exclusion policy approved

The rules for what will not migrate, agreed before anyone applies them to real data.

04

Review the staging design

Where data rests, for how long, with what controls, and who can reach it.

05

Walk the evidence pack format

Agree what will be produced before the project starts producing it.

06

Close out formally

Including the disposal certificate for staging copies. The project is not finished until that exists.

Partners who have run regulated migrations will expect this and build it into their plan. A partner who treats compliance involvement as a delay rather than a workstream is telling you something useful about how they have run previous projects.

Start with a compliance-led migration assessment →

Frequently Asked Questions

What makes a regulated data migration different from an ordinary one?

The requirement to prove afterwards what happened. An ordinary migration succeeds when the data is in the new system and the business is working. A regulated migration additionally needs an evidence pack: a documented scope with named approvers, a field-level data map showing lineage, integrity verification demonstrating nothing was altered in transit, a reconciliation report, an access log, an exception register accounting for every rejected record, retention mapping, and a certificate confirming staging copies were destroyed. The extra work is mostly documentation and verification rather than technical difficulty — but it has to be budgeted.

Does migrating a record reset its retention period?

It must not. If a record has to be kept seven years from creation and you migrate it in year five, the clock continues from the original date. Carry the original created date and whatever date the retention clock actually runs from — often closure, last transaction, or contract end rather than creation — along with the retention category and any legal hold status. Also confirm what mechanism will actually delete records in the target system when their period expires; Salesforce does not implement retention schedules natively, so that capability has to be built or bought.

How do we handle consent and erasure requests during a migration?

Migrate consent as data rather than as a system setting: scope, timestamp, source, and any withdrawal must be fields that travel with the record. Verify specifically that anyone who unsubscribed or objected in the old system remains suppressed in the new one. For individuals whose data was erased on request, keep a suppression list of hashed identifiers so they are not reintroduced from an older backup — because erasure removes the record that would otherwise prevent re-adding them. Check whether the migration triggers a DPIA threshold rather than assuming it does not.

What are the data residency risks in a migration?

The end state is usually considered carefully and the process is not. Data extracted from an EU production system, staged on a developer machine or a cloud bucket in another region, then loaded into an EU-hosted target has crossed a border even though both endpoints are compliant. Identify where data physically rests at every stage, where your migration tooling processes it, where your delivery team accesses it from, where backups of staging data replicate to, and which sub-processors are involved. Cross-border processing is lawful with the right safeguards — the requirement is that it is identified and documented beforehand.

How should failed records be handled in a regulated migration?

Every rejection must be captured automatically to an exception register with its reason, then categorised — three thousand rejections usually reduce to about five causes. Each category gets a decision with a named owner: fix and reload, migrate with a documented correction, exclude with justification, or escalate. Never silently transform a value to make it load; the correction is itself an auditable event. Finally, reconcile the arithmetic: extracted must equal loaded plus rejected. If it does not, records went somewhere nobody can describe, which is exactly what an audit is designed to find.

Migrating Regulated Data?

RASPSYS runs migrations where the evidence matters as much as the outcome — documented lineage, reconciliation you can hand to an auditor, retention preserved, and a defensible record of every decision about what moved and what did not.