Skip to content
Launchr Space Journal

Engineering Analysis · Global

After a DynamoDB restore, test what still points at the old table

A point-in-time restore creates another table. Recheck integrations, settings and a representative write before switching traffic.

By Launchr Space ·

A recovery drill can pass its first check and fail its real job. The restored table exists, you can find a familiar record, and the incident lead declares the service back. Meanwhile, the application still reads the old table, permission rules still name the old resource, or an event consumer has no connection to the stream on the new table.

DynamoDB point-in-time recovery restores to a new table. AWS also calls out settings that you must reapply, including Time to Live, streams, point-in-time recovery, and certain permissions and alarms. Some of these differences are easy to miss because they don't show up in a spot-check of the restored items.

Verify the table and its integrations

Keep two checklists. The first follows the state of your data: record the restore point, compare a few representative items and index queries, and decide what to do about business events between the restore point and the outage. The second follows every connection on the live service: application configuration, access policies, consumers and operational alerts. Treat read access, writes and downstream events as separate checks. When testing a stream, connect it only to isolated or intentionally disabled consumers until you're ready to exercise a safe notification or update.

Rehearse the cutover

Put a timer on the full drill, not just the console operation. Record how long it takes to restore, reconnect and verify a complete customer action. When those numbers differ, the longer one belongs in the recovery plan. Save the replacement table's settings as reviewed infrastructure or as an explicit runbook step. Before declaring recovery, make someone who didn't run the restore follow the instructions and show you the result of a representative read, write and downstream check.

If the live table is still receiving writes during the drill, document how the business will account for those changes. A restore demonstrates recovery to a chosen point, not continuity after that point. Compare the time the table becomes available with the time staff can safely process their next real item.

Sources

Keep reading