A staff member deletes an order from your custom application. By the time anyone notices, the team has entered new orders and updated shipments. Restoring yesterday’s database over today’s would bring back the missing order but could erase legitimate work. The recovery plan needs to put back the missing records while preserving everything that happened afterward.
Find out what was deleted
Start with the order ID, the approximate deletion time, and any audit trail the application keeps. Check whether the app marks records as deleted or removes them outright. A supported undelete action may be enough for the first case. For the second, ask engineering to identify what else disappeared, such as line items, notes, or file references. Use internal IDs where possible so two customers with similar names do not get mixed up.
Restore a copy away from production
If you need a backup, restore it into a restricted recovery environment from just before the deletion, or from the most recent copy that contains the records. Keep scheduled jobs, outbound messages, and integrations disabled in that environment. If you haven’t confirmed that the backup can be restored, start with this small business restore-test plan.
Compare the old records with the live application
Example: One order, three line items, and a shipment
Suppose the restored copy contains one order and three line items, but production already has a shipment record with the same order reference. Record which objects should be recreated and which should be linked to existing records. If the team already re-entered the order under a new ID, resolve that match before importing. Check whether any attachments still exist in file storage and whether the original references remain valid.
Have operations confirm the business outcome and engineering check for key collisions, missing required fields, and changes to the data model since the backup. Test the repair on a safe copy of current data. Use a supported import or repair routine where possible. Check whether it sends confirmation emails, bills customers, or replays inventory changes before allowing it to run against live data.
Apply the smallest repair and verify it
Write down the exact records you intend to change and what you expect to see afterward. Where the update can be applied in a single database transaction, define the checks that would cause it to roll back. Have the person who owns the process verify the repaired order in the app, confirm newer orders still appear, and check that no duplicate shipment or charge was created. Record who approved the repair and remove temporary copies according to your data-handling procedures.
If this would require guesswork on your current system, contact Code Etcetera about a fixed-scope recovery review. Our software consulting services can help you turn one critical workflow into a recovery plan your team can test.