RBK 03 · 4 OPERATIONAL RUNBOOKS · 200 WORDS (3 MIN)
Recovery and migration runbook
Prerequisites: source/destination inventory, current authoritative dataset, approved backup/key access, recovery objectives and external-effects policy. 1. State the failure or migration boundary and decide when writes stop.
Prerequisites: source/destination inventory, current authoritative dataset, approved backup/key access, recovery objectives and external-effects policy.
- State the failure or migration boundary and decide when writes stop. Identify which system is authoritative at every stage.
- Provision an isolated owned destination with adequate capacity and required runtime/extensions/roles.
- Retrieve the reviewed backup and independent keys. Verify integrity; stop on decrypt/hash/provenance failure.
- Restore using the target database/storage's supported method. Keep outbound effects and schedules disabled during validation.
- Verify schema, constraints, representative records, permissions, expected last committed fixture and a new synthetic workflow. Confirm the app actually uses the new destination.
- Compare observed recovered timestamp and full recovery duration to RPO/RTO definitions. Record any gap and uncertain side effects.
- For cutover, fence source writes, transfer final changes consistently, validate destination, shift traffic, then verify actual client writes at destination.
- Retain source read-only for a defined rollback window. Reconcile external operations before replay. Retire source through the exact inventory after acceptance.
If both sides have accepted divergent writes, stop automatic rollback and use the predesigned reconciliation procedure. Logical dumps do not establish PostgreSQL WAL/PITR coverage. A second local directory does not establish offsite recovery.
ACTIVE-RECALL MASTERY CHECKPOINT · RBK 03
Lock in what you just learned (3 quick questions)
Q1.During a database or server migration, why run a rehearsal on a staging copy and measure real transfer + cutover time?
Q2.Why freeze writes (or switch cleanly to read-only/dual-write verification) right before final database cutover?
Q3.How long should you retain the decommissioned source snapshot after a successful cutover?
Answered 0 / 3