Running it

Rewrite or Modernize Legacy Software: Five Checks

Five checks that settle whether to leave, modernize, replace or rebuild old business software, the condition each path needs, and what to put in writing.

An old unplugged machine beside the same job rebuilt in three verified stages

There are four honest ways out of software that has become a liability, and the one you need is decided by five facts you can establish this week, in your own office, without a vendor in the room.

The pages that currently rank for this question will not put it that way. They give you a taxonomy: refactor, replatform, rewrite, sometimes the five Rs, sometimes seven approaches with a paragraph each. Those are the names consultants use for work after somebody has already decided to do it. They are written for a CIO with an IT department, a budget cycle and a board paper to produce, and they end, almost without exception, on the thought that the right answer depends on your situation. It does. That is the question, not the answer.

If you run a business of ten to sixty people in India, your situation is probably more specific than any of those pages allow for. The system was built five to fifteen years ago. The developer who built it stopped answering some time around 2019. Nothing was written down. The data sits in one database that nobody has ever successfully exported. And the thing actually forcing the decision is not a feature request at all: it is a hosting provider saying the operating system is out of support, or a bank refusing the server, or a browser warning your customers away.

So this page gives you the decision instead of the taxonomy: five checks to run before you call anybody, the four paths and the exact condition under which each one is right, the trap that sinks most big rewrites, and what to insist on in writing before any money moves.

Five gauges on one panel, two of them hard over into the warning arc
Five readings you can take yourself. Two in the warning arc is a deadline, not an opinion.

Run these five checks before you call anyone

Run them in this order. Each one is answerable in a morning, and together they will usually point at one path so clearly that the first vendor conversation becomes a scoping call rather than a sales call.

1. Does it still do the job?

Not "do people like it". Not "is it modern". Does it produce the right output for the work your business does today.

Here is the test. Take the last ten complaints about the system, from whoever actually uses it, and sort each one into exactly one of four piles:

  • It does the wrong thing. The number it prints is incorrect, the stock count drifts, the invoice misses a case.
  • It does the right thing slowly. Correct, but the screen takes nine seconds, or a month end takes two days.
  • It does not do the thing at all. A genuine gap: there is no screen for what the business now needs.
  • Nobody was shown how. The feature exists. The person complaining has never been trained on it.

The distribution tells you a great deal. A pile of ten in the last two categories is not a case for replacing software, it is a case for training and for one or two small additions. A pile in the first category, on a system handling money or stock, is the strongest argument for change on this page, because wrong output is the one failure that compounds quietly.

2. Is the platform underneath it still supported?

This is the check with a date attached, and it is the one that most often turns a vague intention into a deadline. Write down four things: the operating system on the server, the language or runtime version, the database version, and the framework or library the application was built on. Then look each one up on the vendor's own lifecycle page rather than on a blog.

Three examples worth knowing, because they cover a very large share of inherited Indian business systems:

  • PHP. The project publishes exactly which branches are still supported on its supported versions page. As this is written, the supported branches are 8.2, 8.3, 8.4 and 8.5, and security support for 8.2 ends on 31 December 2026. Anything on 8.1 or earlier, which includes every PHP 5 and PHP 7 application still running in the wild, receives no security fixes from the project at all.
  • Visual Basic 6. Microsoft's own support announcement states that the Visual Basic 6.0 and Visual Studio 6.0 development environments have been unsupported since 8 April 2008, that "there is no supported method to create or maintain VB6 applications", and that Microsoft "strongly recommends that you replace your applications with modern technology". The runtime is a separate matter: it is supported for the lifetime of the Windows versions that ship it, and it remains 32-bit only. So a VB6 application may still run perfectly well, while the ability to change it has been unsupported for the better part of two decades.
  • Windows Server 2012 R2. Microsoft's lifecycle entry records extended support ending in October 2023, and the third and final year of paid Extended Security Updates ending on 14 October 2026. A business still running a line of business application on that server in late 2026 is running it with no security updates available at any price.

A date that has already passed is a decision somebody else has made for you. It does not tell you which of the four paths to take, but it does set the clock, and it moves the conversation from "should we" to "by when".

There is a second half to this check. If the application is reachable from the internet, an unsupported stack is a security question rather than a budget question, and it deserves a look by somebody who is not the person hoping to sell you the rebuild. The patterns that say an independent review is overdue are set out in signs your SaaS architecture needs an audit, and most of them apply to an internal system just as well.

3. Can you get the data out?

Do not accept an assurance on this. Run it.

Ask whoever administers the system for a full export of the main tables today, as files you can open: CSV, SQL or whatever the database produces natively. Then actually open them and look for three things. Are the records all there, counted against what the application reports. Are the relationships legible, so that an order can still be matched to its customer. And are the fields self-explanatory enough that somebody who did not build the system could work out what they hold.

Three outcomes, and each one changes the decision:

  • A clean export today. Every path stays open, including buying a product off the shelf. This is the single most valuable thing you can establish before you talk to anyone.
  • An export that needs the original developer. Your choices narrow and your costs rise, because somebody has to reverse engineer the schema before anything else can begin.
  • No export at all, because the system is hosted by a supplier who will not give you database access. You do not have a software problem yet, you have a leverage problem, and it has to be solved first. Getting your website back from a previous developer works through that in the order that actually unlocks things.

Run the export once while relations with the current supplier are still good. An export nobody has tested is a promise rather than a backup.

4. Is the knowledge still in the building?

Pick the three rules your business genuinely depends on the system getting right. The way a discount is calculated. Which stock movement triggers a reorder. How a part payment is allocated across old invoices.

Now ask who, among people you can still telephone, can explain each one without opening the application.

If somebody can, write it down this week, before they retire or resign. That document is worth more than any code review.

If nobody can, and the only available answer is "the system does it", then be clear about what that means: the software is now the only existing copy of your business rules. That is not a reason to keep it forever, and it is certainly not a reason to panic. It is a cost driver, and a specific one. Any path other than leaving it alone now includes a phase of working out what the thing actually does, from the code and from the data, before anybody writes a line of anything new. Vendors who skip that phase are not being efficient. They are quoting for a job they have not understood.

5. Is the process itself about to change?

The question everybody forgets. Software encodes how you worked when it was built. If you are about to change how you work, rebuilding today's behaviour faithfully is paying good money to preserve something you intend to discard.

Three things that count as a real change: a new line of business with a different workflow, a regulatory or compliance shift that alters what you must record, or a move from one way of selling to another. If one of those is already decided, it belongs in the scope now, because it is far cheaper to design for than to retrofit.

If nothing is changing, say so plainly. A stable process is an argument for the cheaper paths, and it is the reason a faithful like for like migration can be the right answer even when the system looks dated.

The question underneath all five: who holds the source code

Before any of this becomes a plan, settle one thing: can you, or somebody you choose, obtain and change the source code lawfully.

Two different failures hide here. The first is practical: nobody has the code, or what exists is an old copy on a laptop that may not match what is running. The second is legal, and it surprises people. Under Indian law, paying an outside developer for software does not, by default, transfer the copyright to you. The clauses that settle it, and what to do if the paperwork was never done, are in who owns the source code you paid for in India.

This matters here because it removes options rather than adding cost. If you cannot obtain the source, you cannot modernize in place at all. The honest list shrinks to two: live with it behind tighter controls, or move the data to something else. Knowing that before you take a vendor call will save you a month.

Four paths, and the condition each one needs

One system at a junction with four tracks leaving it to four different endings
The same system, four endings: leave it, modernize it, replace it with a product, rebuild it.
PathThe condition that makes it rightWhat it does not fix
Leave it alone, harden the edgesChecks 1 and 5 pass, nothing faces the internet, and no platform deadline has passedIt gets more expensive to change every year
Modernize in placeThe behaviour is right, the source is available, and the platform is the problemA process that no longer matches the business
Replace with a bought productWhat it does is a solved and standard problem, and the data exports cleanlyA genuinely unusual workflow that is your advantage
RebuildWhat it does is specific to you, and the behaviour is understood or recoverableAny of it, quickly or cheaply

Leave it alone, and harden the edges. The most underrated answer. If the system still produces the right output, the process is not changing, and nothing is exposed to the internet, the correct next step may be no project at all: take a verified backup off site, restrict who can reach the server, remove it from public networks, and put a note in the calendar for the next lifecycle date. Buying time deliberately is a decision. Drifting is not.

Modernize in place. Keep the behaviour, move the ground beneath it: a supported runtime version, a supported database, a supported operating system, dependencies that still receive fixes. The condition is that you have the source and the behaviour is still right. This is the path most often skipped by people who have convinced themselves the system must go, and it is frequently a fraction of the size of the alternatives, because the hardest part of software is agreeing what it should do, and that part is already finished. Our SaaS modernization and legacy migration service exists for exactly this case, and the page sets out what the engagement includes and in what order.

Replace it with a bought product. If what the system does is a standard problem, which for most businesses means accounting, payroll, invoicing, ticketing, stock, or a website, then the right move is usually to buy rather than to build again. The condition is check 3: a clean export, because without one you cannot migrate into anything. The rule for deciding which processes deserve custom software at all is in custom software versus off the shelf, and it is worth applying to the old system before you assume a replacement must be custom too.

Rebuild. Justified when what the software does is specific to your business and could not be bought, and when the behaviour is either documented or recoverable from the code and the data. A rebuild is the slowest and riskiest of the four, so it earns its place only when the other three have been honestly ruled out. Nobody should reach it by default, and a vendor who arrives at it in the first meeting has not run checks 1 to 5 with you.

One more observation that the taxonomy pages tend to bury. These are not exclusive. The common and sensible answer for a small business is a combination: buy a product for the standard half, rebuild only the part that is genuinely yours, and keep a bridge between them. That keeps the compliance burden with a vendor and keeps your own build small.

The trap that sinks big rewrites: parity and the cutover

Old and new systems running on parallel rails with daily comparisons and a way back
The mismatch found while both were still running costs an afternoon. The same one found after cutover costs a week.

Almost every rewrite that goes badly goes badly in the same two places, and neither of them is the code.

The first is behaviour parity. After ten years, an old system contains hundreds of small rules nobody remembers agreeing to: the customer whose rate is different, the state where the tax treatment changes, the rounding convention in one report that finance has relied on for years. None of it is written down. All of it is load bearing. When the new system goes live and the figures move by a small amount, nobody can tell whether the old system was wrong or the new one is, and confidence collapses.

The defence is not more testing. It is comparison. Run both systems on the same real inputs for a defined period and reconcile the outputs daily, line by line, on the few numbers the business actually cares about. Every difference is then either a bug you have found early or an old rule you have just rediscovered and can now write down. That exercise is also the documentation you never had.

The second is the cutover. A rewrite that is switched on over a weekend, for everything at once, has a single moment in which everything must work and nowhere to retreat to. Big bang cutovers do not fail because the software is bad. They fail because a problem found at nine in the morning on the Monday has no answer except to keep going.

What good looks like instead:

  • Stages that each leave a working system. One module, one report, one group of users at a time. If the money runs out halfway, you are left with something that functions rather than two half systems.
  • A rehearsed data migration. The move is practised on a copy, the record counts are compared, and specific rows are spot checked by somebody from the business, not only by the developer.
  • A rollback that somebody has actually performed. Not a paragraph in a document. A tested path back to the old system, with a stated point of no return and a named person who decides.
  • The old system kept readable. Even after cutover, keep it available for reference for an agreed period. The day somebody asks what was invoiced in March three years ago, you will be glad.

If a proposal you are reading contains none of this, the risk has not been removed from the project. It has been moved onto you.

What actually moves the cost

We do not publish a price for this kind of work, and neither can anybody else honestly, because a quoted range without a scope attached is a number with no unit. What we can do is tell you which facts move the number, so you can bring most of the answer with you.

  • How much behaviour has to be preserved exactly. The single biggest driver. Faithful parity on a system nobody can explain is expensive, because the specification has to be recovered before it can be met.
  • Whether the data is clean and exportable. A clean export is a few days. A schema nobody can read, with the same customer recorded four different ways, is weeks before any new work starts.
  • How many integrations the system touches. Each one is its own small project: accounting, the payment gateway, the bank statement, the courier, the government portal.
  • How exposed it is. Internet facing, handling payments or personal data, raises the standard of care and the amount of verification.
  • Whether the users can be moved in groups. One site at a time is far cheaper to support than everyone on the same morning.
  • What happens to the old system. Decommissioning, archiving and keeping a readable copy are real work, and they are routinely left out of quotes.

For how to size a build on paper before anybody quotes, SaaS development cost in India sets out the drivers that move the effort, and website maintenance cost in India covers the part that continues after the project ends, which is where inherited systems usually became a problem in the first place. The way to turn all of this into a number is to write the brief first: writing a software brief that gets an accurate quote lists the eight things a studio needs before its figure means anything.

What to insist on in writing

Whichever path you choose, and whoever does the work, these belong in the scope document rather than in a conversation.

Insist onWhat a good answer looks like
Source code and repository accessThe repository is in your company's account from day one, with the supplier invited to it, and the copyright assignment is signed before work starts
Database accessYou hold credentials to your own database, and a scheduled backup lands somewhere you control
A staged planNamed stages, each one leaving a working system, each one separately priced
A rehearsed migrationRecord counts compared, spot checks signed off by somebody from your side
A rollbackA tested way back, a stated point of no return, and a named decision maker
Documentation at handoverHow to deploy, how to restore from backup, what every integration is and where its credentials live
An exitWhat you receive on the last day of the engagement, listed item by item

Two of those deserve emphasis because they are the ones most often lost. Documentation at handover is the single item that decides whether your successor faces this same decision in another ten years, and it has to be a deliverable with a line in the plan, not a courtesy. And the handover itself is worth checking rather than assuming: the website handover checklist is written for a website, but the five checks in it transfer directly to any system you are taking delivery of.

Tie the money to the stages as well. Website development payment terms and milestones covers how to structure that so each payment is released against something you can see working.

Frequently asked questions

Should I rewrite or modernize legacy software?

Modernize if the behaviour is still right and the platform is the problem, and you can obtain the source code. Rewrite only when what the software does is specific to your business, could not be bought, and is either documented or recoverable from the code and the data. The five checks above settle it faster than any framework, because they are facts about your system rather than categories of work.

How do I know when to replace old business software?

Three signals carry the most weight. The output is wrong rather than merely slow. The platform underneath it has passed its support date, which you verify on the vendor's lifecycle page rather than from memory. Or the process it encodes is about to change. One of those is usually enough. Dissatisfaction on its own is not.

What if the original developer is gone and nothing is documented?

That is the common case, not an unusual one. It does not block any path, but it does add a phase: somebody has to establish what the system does, from the running software, the database and whatever code exists, before new work begins. Budget for that phase explicitly. A quote that does not contain it is a quote for a job nobody has understood yet.

My old custom software is not supported any more. How urgent is that?

Look up the exact versions on the vendor's own lifecycle pages and find the dates. If the system is reachable from the internet and the stack receives no security fixes, treat it as urgent and reduce the exposure first, before any project starts. If it runs on an isolated machine inside your office, you have more time than the person quoting may suggest, though the cost of change rises every year you wait.

Is legacy software modernization worth it for a small business?

Often it is the cheapest of the four paths, because the hardest part of software is agreeing what it should do, and in a modernization that part is already finished. It is worth it when the behaviour is right, the source is available and the platform is the problem. It is not worth it when the process is changing anyway, or when a standard product would do the job.

The vendor holds our source code. What are our options?

Until that is resolved, modernizing in place is not available to you. The realistic options are to negotiate access, with a signed assignment rather than an email, or to export the data and move to something else. Settle the ownership question first, because it determines which of the four paths you can even discuss.

How long does this take?

It depends almost entirely on how much behaviour has to be preserved exactly and how clean the data is, which is why any duration offered before those two are known is a guess. What you can insist on regardless is that the work is divided into stages that each leave a working system, so that the duration of the first stage is short, fixed and verifiable.

Where the legacy system is an internal tool, internal dashboards and admin portals describes how we replace it step by step, and for a continuing technical owner see fractional CTO support.

Start here

  1. Write down the operating system, runtime, database and framework versions, then look each one up on the vendor's own lifecycle page and note the dates.
  2. Run the export today, open the files, and count the records against what the application reports.
  3. Sort the last ten complaints into the four piles, and see which one fills up.
  4. Name the three business rules the system has to get right, and find out who can still explain them.
  5. Decide whether the process itself is changing in the next two years, and write that down either way.
  6. Settle who holds the source code and whether a copyright assignment exists.

Those six answers decide the path, and they are yours to establish before anybody quotes. If you would rather have somebody work through them with you, the first call is free and is mostly us asking the questions above. It ends more often than you might expect with a recommendation to leave the system alone for now, or to buy a product instead of building one. When modernizing is the right answer, our SaaS modernization service sets out how the engagement runs and what each stage delivers, and the rest of what we do is on the services page.

Services for this

See All Services

Want this built properly?

Send a written enquiry and we reply by email with questions. A call is optional, and free. Then you get the scope in writing and a fixed quote for the first phase.

What happens next

  1. You send a written enquiryTell us the problem.
  2. We reply by emailWith our questions.
  3. A written scope and quoteA call only if you want one.
Based inTamil Nadu, India
ProcessWritten first, a call only if you want one