Skip to Content

Legacy system modernisation in South Africa, without stopping the business

The approaches, how to move one piece at a time while the old system keeps working, and what POPIA and local hosting add to the plan

Written by Sean Veldboer, Consultant at CBOS
Published 9 min read

Legacy system modernisation means moving, rebuilding or replacing old software, ideally in stages so the old system runs until the new one takes over. The stages matter because the old system is usually the one that invoices clients, books stock and pays people.

A South African business has a few extra things to plan for. There's where the data will live under POPIA, what an office server does when the power fails, and who still understands the old code. This guide covers the approaches, how to move without stopping work, and those local questions.

What is legacy system modernisation?

Legacy system modernisation is the work of moving a business-critical system onto current technology. You can move it, rewrite parts of it or replace it. A legacy system is software your business still depends on but can no longer change easily. Its platform may be out of support, its code may be undocumented, or the people who built it may have left.

Age alone doesn't make a system legacy. A ten-year-old system that is supported, secure and easy to change is simply an old system that works. It becomes legacy when each change costs more, takes longer and carries more risk than the change is worth to the business.

The approaches below run from the least change to the most. A single project often uses several of them, one for each part of the system.

Approach What changes Risk to daily work When it fits
Retain and connect Nothing inside; new systems talk to it through an integration layer Low The core works, but it can't share data
Rehost (lift and shift) Where it runs, from an office server to the cloud Low to medium The software is fine and the hardware is the problem
Replatform The database or runtime, with small code changes Medium The platform is going out of support
Rebuild in stages One part at a time is rewritten, while the old system runs the rest Medium, spread over time The system holds the business back and can't be patched
Replace or retire The system is swapped for a product, or switched off High at cutover A standard product does the job, or nobody uses it

When does a legacy system need modernising?

A legacy system needs modernising when the cost of keeping it shows up in the work around it. Your staff will usually see the signs before anyone writes a business case:

  • The platform is out of vendor support. For example, Microsoft's extended support for SQL Server 2016 ended in July 2026. Paid Extended Security Updates are now the only way to keep getting its security fixes.
  • One person understands how it works, and the business would be stuck if they left.
  • Staff re-type the same information into the old system and the newer ones around it.
  • Small changes, such as a new field on an invoice, take weeks of work and testing.
  • It runs on a server in the office, so it stops when the power or the connection does.
  • It can't give each user their own login, or keep a record of who changed what.

Two or three of these together are a good reason to plan the move now. It's far easier to modernise a system that still works than one that has just broken.

Legacy system modernization strategies and approaches

Legacy system modernization strategies are usually described as a set of "Rs". Amazon Web Services lists seven in its migration strategies guide. They are retire, retain, rehost, relocate, repurchase, replatform, and refactor or re-architect. The table above groups them into the five choices a business owner actually makes.

Make that choice for each part of the system separately. An old ERP may have a stock module that still works well, a reporting module nobody trusts and a customer portal nobody has opened in years. Those three parts deserve three answers: retain the stock module, rebuild reporting and retire the portal.

AWS also says refactoring "is not recommended for large migrations". It suggests moving applications first and modernising them once the move is complete. For a company with dozens of systems, that order lowers the risk.

A company with one core system that holds it back is in a different position. Moving that system unchanged only moves the problem to a new server, so rebuilding it in stages is usually the better use of the budget. The new system is bespoke software written around how your business works today. The client owns the code CBOS builds, so the next upgrade doesn't depend on a vendor's roadmap.

How do you modernise a legacy system without stopping the business?

You modernise a legacy system without stopping the business by replacing it one piece at a time. The old system keeps doing everything that hasn't moved yet. Martin Fowler named this the Strangler Fig approach, after figs in Queensland that grow around a host tree until they stand on their own.

Microsoft's guide to the pattern puts a routing layer in front of the old system. For each request, it decides whether the old or the new system answers. Users keep working as before and, in Microsoft's words, "are unaware that a migration is in progress". The work then runs in six steps:

  1. Ask the staff who use the system every day what it really does, including the exceptions. These are the credit note done by hand and the month-end report someone fixes in Excel. Martin Fowler, who named the approach, warns that replacements "seem easy to specify, but often it's hard to figure out the details of existing behavior."
  2. Put the routing layer in front. At first it sends everything to the old system, so nothing changes for users.
  3. Move the piece with the most value first. That might be quoting, stock or reporting, whichever costs the business most today.
  4. Run both side by side. Keep the data in sync, and compare the new system's results with the old one's before anyone relies on them.
  5. Keep a way back. Microsoft notes that rollback stays possible until the old system's tables for that area are removed, so remove them last.
  6. Switch off the old piece once the new one has been checked, then start on the next piece.

The Gallo Images rebuild started the same way, with the old system understood first. Over several years, Gallo Images had built up custom software for its whole value chain. It had become "outdated, hard to maintain and poorly connected". CBOS started by analysing the existing architecture and the legacy source code. It then rebuilt the system on Microsoft Azure, keeping operations running for the whole transition. The Gallo Images case study shows each stage.

Legacy system integration while the old system is still running

Legacy system integration keeps the old and new systems working as one during the move. A new quoting module may need customer records that still live in the old system. In turn, the old invoicing module may need the quotes the new one creates.

Microsoft recommends an "anti-corruption layer" for this. It's a translator between the two systems, so the new one doesn't inherit the old one's odd field names and rules. Where the old application can't be changed at all, its database can still pass changes on. It does this through triggers, or by having the new system read its transaction log.

Integration also shows where a staged approach stops working. Microsoft says the pattern may not suit a system whose requests can't be intercepted. The same goes for one where neither the code nor the database can be touched. In those cases the safer plan is a careful replacement, with a single rehearsed cutover weekend.

CBOS builds the connections either way, so staff stop re-typing data between the old system and the new. Our article on what integration debt costs a business covers what happens when those connections are left to grow by hand.

What South African businesses should plan for

South African businesses should add three things that global guides leave out. These are personal information during the move, where the new system is hosted, and power.

Personal information needs protecting throughout the migration. Section 19 of POPIA requires "appropriate, reasonable technical and organisational measures" to protect it, and that duty doesn't pause for a project. Migrations create risks of their own. Full copies of client data end up in test systems, old backups sit on laptops and temporary logins never get removed.

So mask personal information in test copies, and close every temporary account when the move ends.

Hosting abroad adds a second POPIA rule. If the new system is hosted outside South Africa, section 72 only allows the transfer under set conditions. These include a binding agreement with protection similar to POPIA's, or the person's consent.

Keeping data local is simpler. Microsoft runs an Azure region in Johannesburg, with a restricted-access region in Cape Town, and AWS runs one in Cape Town. Through its cloud services work, CBOS builds systems that keep data in South Africa.

Power is the third. A legacy system on an office server is only as reliable as the building's power, backup and fibre line. Moving it to a cloud region removes that dependency. It's often the first, low-risk step in a longer plan.

How does legacy system modernisation with AI work?

Legacy system modernisation with AI uses coding tools to read old code, explain it and draft its replacement. Developers check every result. Understanding what old code does is often the slowest part of a project, and AI tools now help with exactly that.

For example, AWS says its AWS Transform service "uses agentic AI to accelerate and de-risk each stage" of modernisation. That includes pulling business rules out of mainframe code and upgrading .NET applications, SQL Server databases and Java code. Tools like this can turn undocumented code into readable notes. Developers can also use them to write tests that record how the old system behaves today.

AI can't tell which of the old system's quirks are rules the business depends on and which are mistakes. That judgement comes from the people who use the system every day. It's why step 1 above starts with the staff who use the system, before any tool reads the code.

If you're weighing up which parts of an old system to keep, rebuild or retire, a discovery call with CBOS is a good place to work that out.

Frequently asked questions

What is meant by a legacy system?

A legacy system is software a business still relies on but can't change easily or safely. Its platform may be out of vendor support, its code may be undocumented, or its builders may have left. An old system that is supported and easy to change doesn't count.

What is an example of legacy modernisation?

Gallo Images is one. Its custom systems for ingestion, asset management, billing, accounting and reporting had become outdated and poorly connected. CBOS analysed the existing architecture and source code first. It then rebuilt them as one platform on Microsoft Azure, with operations kept running through the transition.

What are the latest trends in modernising legacy systems?

AI tools that read old code are the newest change. AWS Transform, for example, pulls business rules out of mainframe code and upgrades .NET applications, and developers check what it produces. Alongside that, staged rebuilds that replace one piece at a time, often called the Strangler Fig approach, are a common choice for core systems.

How do you modernise legacy applications?

Start by asking the people who use the application what it really does, including the manual workarounds. Then choose an approach for each part: retain, rehost, replatform, rebuild or retire. Move the most valuable part first, and run old and new side by side until the results match. Switch off each old part only after the new one has been checked.

Does modernising a legacy system mean moving it to the cloud?

Moving to the cloud is one approach, and it solves hardware and power problems. It doesn't fix software that's hard to change, though. A plan often pairs a move to a cloud region with a staged rebuild of the parts that hold the business back.

About the author

Sean Veldboer

Consultant at CBOS

CBOS designs and builds platforms, portals, mobile apps and integrations for companies in South Africa and around the world, and has done since 2014. More about CBOS

Have a project like this in mind?

Book a discovery call and we'll look at how your operation runs, then put the scope and price in a written proposal.

Odoo integration services: how to connect Odoo to Sage, WhatsApp and other systems
What Odoo connects to on its own, what its API allows on each plan, and when a custom integration is worth building