Security, privacy and compliance in data migration: controls at every stage

To ensure security, privacy and compliance in data migration, define controls, responsibilities and evidence requirements across the entire data chain. Encryption and a certified supplier are important, but they do not determine which data may be migrated, who can access it or when temporary copies will be deleted.

Control from source to target

Security means protecting data against unauthorised access, alteration or loss; privacy means handling personal data carefully and for a defined purpose. Compliance requires you to translate applicable rules and agreements into demonstrable measures, including GDPR requirements when migrating personal data.

Use the five stages below as the basis for your migration plan. Assign an owner and a reviewer to each control, and specify the evidence required. Access management, logging and incident handling apply throughout all stages, even where they are discussed under a single stage below.

1. Select data and document agreements

Start with what the target system and business processes need, rather than everything the source contains. Data minimisation means selecting only the data needed for the defined purpose.

Control checklist

  • For each data category, document why it is being migrated, which fields are needed and which data will be excluded from the migration.
  • Define retention periods for source data, target data and temporary copies; have the relevant owners and those responsible for privacy review these decisions.
  • Document who acts as the data controller and data processor, who gives instructions and who approves decisions; where necessary, document data processing agreements covering use, security, incidents and deletion.

Evidence required: an approved data selection plan, a retention schedule, a clear allocation of roles and documented data processing agreements. Also record who may approve exceptions, so that an additional dataset does not fall outside the agreements unnoticed.

Ask your supplier which data and temporary storage locations fall under their responsibility. This also makes transfers between organisations verifiable.

2. Control extraction and transfer

A secure connection is one part of a secure transfer. Extraction from the source, storage along the way and receipt in the target environment must also be controlled.

Control checklist

  • Allow only authorised accounts to extract the approved data selection, and check that output files are stored in the agreed location.
  • Implement encryption in transit and for stored migration files; agree who will have access to encryption keys and receiving locations.
  • Limit permissions to the tasks required, separate production, test and migration environments, and determine when temporary accounts will be revoked.

Evidence required: an access matrix showing assigned permissions, documented configuration checks and a transfer log recording the sender, recipient, dataset version and confirmation of receipt. Link these records to the relevant migration run, so it is clear afterwards which delivery was processed.

Before the first trial migration, have the team demonstrate that access restrictions and environment separation work in practice.

3. Test carefully and track every copy

Testing requires usable data, but does not automatically require unrestricted access to sensitive production data. Masking replaces or conceals sensitive values; verify both the protection it provides and the usability of the data for the planned tests.

Control checklist

  • Document which test data is needed, which values will be masked and who has access; record deviations and have them reviewed.
  • Keep a register of temporary copies, including their location, purpose, owner and scheduled deletion time, including after failed runs or repeated tests.
  • Log access, execution and changes without unnecessarily recording sensitive content; assign someone to review the logs.
  • Agree who can stop processing in the event of an incident, who will involve the security and privacy teams, and who will assess any notification obligations.

Evidence required: a masking test report, an up-to-date register of copies, documented log reviews and an incident procedure with named contacts. When incidents occur, also record decisions, measures taken and the reasons for resuming processing.

A successful test run is therefore not the end of the process: also check which files and access permissions the run has left behind.

4. Reconcile and obtain explicit sign-off

Reconciliation is the controlled comparison of source and target data to demonstrate that they match as intended. In an approach centred on the target system, you compare data according to the agreed selection and transformation rules, rather than assuming that everything must remain identical on a one-to-one basis.

Control checklist

  • Define in advance which checks will demonstrate completeness and accuracy, such as comparisons of record counts and totals, and checks against business rules.
  • Investigate differences and distinguish intended transformations from errors; assign an owner and a follow-up action to every unresolved discrepancy.
  • Make acceptance criteria explicit, including security and privacy conditions, and have the authorised decision-makers give sign-off.

Evidence required: reconciliation reports, test results, a discrepancy register and a documented acceptance decision. Retain the selection and transformation rules used, so that the reviewer can trace how the results were obtained.

What does this mean for your go-live? A technically completed run is ready for acceptance only when there is documented evidence that the agreed checks and any remaining risks have been reviewed.

5. Delete in a controlled way and close the file

Control is still needed after acceptance: administratively closing a project does not remove temporary files or permissions. Determine separately what must be deleted and what must remain available under the agreed retention periods.

Control checklist

  • Work through the register of copies and have those responsible confirm deletion, including files held by suppliers and in test environments.
  • Revoke temporary permissions and accounts; document how remaining copies, including backups, will be handled in line with the retention periods.
  • Compile the evidence for each stage and restrict access to the evidence file, as logs and reports may also contain sensitive data.

Evidence required: deletion reports, confirmations of revoked permissions and an evidence file with readily accessible records of controls, deviations and approvals for acceptance or audit. Assign an owner and an end date to any remaining retention tasks.

The contribution of Data eXcellence

For business-critical data migrations, Data eXcellence focuses on verifiability from source to target system. Its proprietary tooling extracts data, transforms it and loads it into the target system (ETL).

Audit & Control makes the migration verifiable and traceable.

Automated runs and reports support repeatability and provide insight into the results. Reconciliation aims to achieve a 100% match between source and target data in accordance with the agreed migration rules.

This evidence supports review and acceptance, alongside the security, privacy and data processing agreements in your migration plan.

Make the controls part of your migration plan

Include every checklist item as a concrete requirement with an owner, supporting evidence and a defined acceptance point. Ask internal teams and suppliers: which control do you perform, how do you demonstrate the result and who decides what happens when there is a deviation?

This makes compliance in data migration verifiable, from the first data selection to the last temporary copy.