Skip to content

Insights / Bespoke software development

Replace a legacy business application without losing its data

Replace a legacy application by deciding which records must remain usable, keeping a verified copy of the old data and rehearsing the handover with real work scenarios. Start using the replacement only when the people who rely on the data can find it and complete their work.

By Published 5 min read

Decide what to migrate and what to archive

List the source database, attachments, scheduled exports and connected tools that supply or change records. Include spreadsheets if staff use them to keep records the application does not hold. Give each source a business owner. Ask what the team needs to do on day one, which older records it must still find, and what can be removed under the organisation’s approved retention policy. Record the answer per record type and agree who can authorise a disposal.

Consider a fictional equipment calibration business. Staff need customer and equipment records, all open calibration jobs and the most recent certificate for each active piece of equipment. Older certificates have to remain searchable. A closed job may be archived if a colleague can still find its certificate by equipment reference. Record that requirement and test it with the people who answer requests for historical certificates.

Record or dependencyProposed handlingAcceptance evidence
Open calibration jobMigrate with its current status and technicianTechnician can find and complete the job
Older certificateKeep in a controlled, searchable archiveAuthorised staff can open it using the equipment reference
Duplicate temporary exportReview for approved disposalOwner confirms a retained source and approves disposal

Check whether the calendar, reporting and invoicing tools use the legacy identifiers. List the owner and cutover task for each dependency so a database migration cannot leave the operational links behind.

Map identifiers, states and attachments

Write a mapping from the legacy fields to their target fields. For each one, specify what happens when a value is blank, how dates are interpreted, how status values are converted and what must be kept intact. If some statuses map to one value, preserve the original status where staff need that detail. Keep a link between old and new record identifiers so a call about a legacy job can still be resolved. Confirm the relationship between each certificate, the job that produced it and the equipment it describes.

Open a few attachments from the new application. Verify that they are the right files, with the right version, and that someone in the intended role can open them. Check the search and export paths your staff will need. If the old application stores a path to a shared file, include the file itself in the migration or archive plan. Assign a test for permissions on the new location. Work from approved copies when exploring transformation rules.

Keep an exceptions list for failed imports and records that need a business decision. Include the original identifier, reason, owner and disposition. Ask the equipment owner how to interpret an old job with no technician assigned. Record the decision and apply it consistently. Link any approved exclusion to the source list.

Rehearse with a backup and run checks in the application

Take a recoverable backup of the database and file storage and test restoring both to an isolated environment. Record the version, time and where the recovery instructions are. Run the migration against an approved copy. Measure the time for export, transfer, import and review. Compare the record counts by type and status. Where the same values are expected in both databases, compare records by key. AWS DMS documents source-to-target row validation for supported migrations. Field transformations and business rules need their own expected results.

Test representative work in the replacement. Find an open calibration job, confirm its assigned technician, complete it in the test environment and locate the certificate. Retrieve a historical certificate from the archive. Check that it belongs to the right equipment and that an unauthorised role cannot open it. Test the edge cases already found, such as an empty field or a job with several files. Check totals or reports the business uses to confirm that the migration preserved the underlying relationships.

Rerun failed cases after fixing the mapping or resolving an exception. Keep expected and actual results with the run identifier. Ask business owners to confirm that staff can complete the same tasks with the intended permissions and that the archive works at the pace they require.

Control changes during the switch

Assign one person to call the switch and one to verify the final data. Agree a time to pause writes in the legacy application or record changes made after the initial copy. Include edits from scheduled jobs and connected tools. If using a final batch of changes, verify that it includes updates, additions and deletions as required by your process. Check that repeating the import after an interruption leaves one correct record per source identifier.

Write the sequence with start times, owners and evidence. Take the agreed backup, run the transfer, compare the final records and open the replacement to a small group. Have that group check the open jobs, recent certificates and the connections needed for the next shift. Reconcile any work captured during the transfer before letting the wider team use the replacement.

Decide in advance what forces a pause or a return to the old process. Missing open jobs, inaccessible certificates or incorrect permissions should hold the switch for the affected workflows. If users already entered new work, list and preserve those changes before a return. Define who checks for duplicates and how authorised staff will place those changes back into the agreed system. Rehearse this recovery step. A restored snapshot describes a point in time, so the team also needs a way to account for later work.

Verify the first live work and close the old system

During the first shift, ask a named person to compare the first completed job and certificate with the expected workflow. Give staff a place to report missing or incorrect records using a recognisable job or equipment identifier. Review the exceptions list each day during the agreed transition period. Confirm the workflow continues to work if the person who ran the migration is unavailable.

Keep the legacy application in the agreed state, such as restricted read-only access, while the owners validate the replacement and archive. Check which integrations still depend on it and remove those dependencies before retirement. Restrict access to the backup and archive and verify that the historical search still works for authorised users. Record who can approve retirement, when the retention decision will be reviewed and where the approved records are stored.

Have the operational owners sign off the completed migration and the remaining archive obligations. Save the last comparison, approvals, backup references and recovery instructions together. Include the names of those responsible for follow-up. If a temporary exception remains, give it a due date and an owner who can explain the impact. This gives staff a direct path from a support request to the record and the decision behind it.

Frequently asked questions

Does every record need to move?
No. Move the data needed for current work and use an approved, searchable archive for eligible history. Confirm that staff can still find the records they need.
Is a database backup enough?
No. Verify the restore, include files and related systems in scope, and compare business records after import.
Can we return to the old application after staff start using the replacement?
Yes, if your rehearsed plan preserves the new work and defines how to bring it into the system you return to. Check the final records before reopening.

Sources

  1. AWS DMS, source-to-target data validation

New business

Have a project in mind?

Send a short note about your goal and where you need help. A senior member of the team will reply within one business day to arrange an initial call.

contact@wmktechnologies.com