Skip to content
Mediocant

03Engineering note · Architecture

Designing for data portability

Most systems can export something. Far fewer can be left without losing the operation. Portability is the difference between a file and a reconstruction: the ability to move records, relationships, history and meaning into another system without a forensic project.

Published
2 December 2026
Reading time
7 min
Category
Architecture

Own the identifiers and the master record

A migration becomes fragile when every system invents its own customer, product or asset identifier and the mapping lives in someone's head. Decide which system is authoritative for each core entity, give it a stable identifier, and make that identifier travel with the record.

This is not a theoretical concern. Duplicate customer records, re-created product codes and orphaned attachments are the usual reason a migration takes longer than planned. A canonical identifier and a documented ownership rule prevent most of it.

Export the meaning, not just the rows

A table of current values loses the relationships that make the data useful: which payment belongs to which invoice, which attachment belongs to which asset, which approval authorised which change. The export format should preserve keys, types and relationships, not flatten them into a spreadsheet.

Prefer open, documented formats with a stable schema. Keep a copy of the schema and the transformation rules with the export. A migration script that only its author can run is another form of lock-in.

History is part of the record

For finance, stock or custody, the current balance is not enough. The audit trail explains how the balance was reached. If the source system can export transactions but not their sequence, corrections or approvals, the destination cannot reproduce the audit.

Design for an event or journal export where the domain requires it. Test that the destination can replay the history, not merely accept the closing balances.

Permissions and attachments need a plan

Roles and access rules are part of the operating model. A migration that recreates users but not their role boundaries creates a security regression. Map the roles explicitly and test the result with the people who use them.

Attachments, images and documents are often the largest and least portable part of the estate. Check whether they are included in the export, how they are named, whether versions are preserved and how links survive the move.

Put the exit in the contract and rehearse it

Portability is partly a contractual question: export rights, termination assistance, data retention, deletion and the format of the final handover. Those terms should be agreed before the dependency is created, not negotiated during an exit.

Then rehearse. Pick a representative slice, export it, transform it, import it into a test environment and compare the result. The gaps you find are the real cost of leaving. A portability plan that has never been exercised is an assumption.

Portability checklist

  • Canonical identifiers for customers, products, assets and transactions
  • Documented export schema with relationships and types
  • Transaction or event history, not only current state
  • Attachments, versions and document links included
  • Roles and permissions mapped and tested
  • Contractual export, retention and deletion terms
  • A rehearsed migration of a representative slice

Apply it to your estate

The assessment turns these questions into evidence: what you run, what it costs, what it depends on, and which decisions would improve the position.