In brief
Customer data can be moved with no noticeable interruption by combining three techniques: an initial migration of most of the data well in advance, capture of the changes customers make in the meantime, and a cutover in a short window during which the channels run in read-only mode. Large migrations are split into customer waves. The prerequisites are several rehearsal migrations, automated reconciliation of balances and record counts after each one, and a rehearsed rollback plan with a clearly defined point of no return.
What “without interruption” means in a bank
In a bank, a complete absence of downtime when replacing the system that holds the accounts is rarely achievable. The realistic goal is no interruption the customer notices: card payments work, the balance is visible, and the only limitation is a few dozen minutes or a few hours at night when some operations cannot be submitted.
This goal has to be written down at the start of the project in numbers: how long the cutover window may last at most, which channels must stay up the whole time, which operations may be suspended, and how customers will be informed. Separately, you need to decide what happens to incoming payments from other banks during the window: they usually wait in a queue and are posted right after the cutover. Without these decisions, every team designs the migration under different assumptions. We describe the broader context of replacing core systems in the article Core banking modernization.
Data preparation
Most of the time in a migration goes not into the transfer itself but into preparing the data. It starts with three steps:
- Mapping. Every field in the new system has a source in the old one, a transformation rule, and a business owner who approves it. Fields with no counterpart have to be deliberately dropped or moved to an archive.
- Profiling. A review of the source data: empty fields, values outside the dictionary, invalid dates, duplicate customers, accounts without an owner. Profiling always finds things nobody knew about.
- Cleansing. Some errors are fixed in the old system before the migration, some by rules during it, and some need a business decision, for example how to merge two records of the same customer with different addresses.
How to measure data quality and set acceptance thresholds is covered in the article Data quality.
Migration techniques without a long window
Initial load and change capture
Most of the data (customers, accounts, transaction history) is moved ahead of time while the old system keeps running. Changes customers make in the meantime are captured from the database log and carried over to the new system continuously. In the cutover window, all that remains is catching up on the last changes and checking consistency. We describe the change capture technique in the article Change Data Capture.
Customer waves
Instead of moving all customers at once, the bank splits them into waves: bank employees first, then a small group of customers, then further segments. The first waves catch errors while only a few people are affected. It is worth ordering the waves by complexity rather than by size: first customers with simple products, last those with mortgages, joint accounts, powers of attorney, and products withdrawn from sale that are still being serviced. One condition: for the duration of the migration, both systems must be able to handle a transfer between a customer who has already been moved and one who is still waiting.
Read-only mode
During the cutover, customer channels can run in read-only mode: the balance and history are visible, but new orders wait or are temporarily unavailable. This reduces the window in which the system is completely unavailable to a minimum.
Dual write
For a period, the application writes every change to both systems. The technique can be tempting, but it is hard: any write failure in one of the systems makes the data diverge, so it needs a mechanism to detect and repair inconsistencies. It works better for simple data than for accounting entries.
Reconciliation and rehearsal migrations
A migration is correct when you can prove it with numbers after the transfer. Every migration, rehearsal and production, should end with a reconciliation report:
| Level | What to compare |
|---|---|
| Record counts | Customers, accounts, cards, consents, transactions in each category |
| Checksums | Total of balances, blocked balances, limits, debt |
| Record sample | Full field-by-field comparison of selected customers |
| Business tests | Login, transfer, card payment, statement for the customers in the sample |
| Rejected records | A list with the reason and a decision on what to do with them |
Rehearsal migrations are run on a copy of production data, in an environment protected like production, because this is real customer data. If the data is to go into an ordinary test environment, it must be anonymized, as described in the article Test data and GDPR. Each rehearsal produces a duration, a list of differences, and a list of rejected records. The production migration can go ahead when two consecutive rehearsals gave a repeatable duration and showed no new differences. This is how B2Bnetwork engineers worked in data migration testing for a merger of two banks.
Cutover and rollback plan
The cutover plan is an hour-by-hour script: who does what, in what order, what the checkpoints are, and who makes the decision at each one. The most important item is the point of no return, after which going back to the old system is no longer possible, usually the moment customers start performing operations in the new system.
The rollback plan must be rehearsed just like the migration. It has to answer these questions: how to restore the old system to its state before the window, what to do with changes customers have already made in the new one, and how long the return takes. A plan nobody has rehearsed usually does not work on the night of the migration. It is also good practice to communicate with customers before and after the window: information about the hours when some operations will be unavailable, and ready answers for the helpline on questions about balances, cards, and standing orders in the first days after the cutover. We describe the principles of business continuity planning in the article Business continuity: BCP and DRP.
Questions and answers
Can a bank's customer data be moved with no downtime at all?
Rarely with none at all. But the downtime can be limited to a short window at night in which the balance and history are visible and some operations are briefly suspended. An initial load with change capture, customer waves, and read-only mode during the cutover all help.
How many rehearsal migrations are needed?
Enough that two consecutive rehearsals give a repeatable duration and show no new differences in reconciliation. For a large bank migration this usually means several full rehearsals on a copy of production data. The first rehearsals almost always expose mapping errors and data quality problems that were not visible in the documentation.
What should be done with records that fail the migration?
Every rejected record goes onto a list with a reason. Some are fixed in the old system before the next rehearsal, some are handled by an additional rule, and some need a business decision, for example moving them to an archive. The production migration should not start with rejected records left without a decision, because behind each one there may be a customer with money.
When should you use customer waves instead of a single migration?
When the bank has many customers, many products, or a high risk of errors in the new system. Waves let you catch problems with a small group, for example bank employees. The cost is a period in which both systems have to work together, including for transfers between migrated and not yet migrated customers.