Chapter D · 4 of 4~10 min

Disaster recovery lab

**RTO, RPO, failover** — when the vector index or region fails, rehearsed recovery beats panic.

Reviewed July 2026 · interactive lab

Paths & resources for this lesson

1Try it yourself

Playground

Disaster recovery lab

Failover, restore snapshot, or rebuild from source.

Primary region down — secondary has warm standby

2Read & reflect

Recap

#What you just did

You chose failover, snapshot restore, or rebuild-from-source for three outage shapes.

Teach

#Pattern

rpo: 1h    # max acceptable data loss
rto: 15m   # max time to restore service
runbook:
  - detect via health + synthetic checks
  - failover traffic to warm standby OR restore snapshot
  - re-embed from source if index corrupt
  - postmortem within 48h

Tabletop the runbook quarterly — do not wait for real disasters to learn it.

Use it

#When you'd use this

  • Multi-region AI APIs with strict SLAs
  • RAG apps with expensive re-embedding costs
  • Enterprise customers asking for DR proof

Watch out

#Watch out

Untested backups are wishful thinking — restore drills reveal missing env vars and schema drift.

Try next

#Try this next

Write RTO/RPO targets for your capstone knowledge base and one restore drill step.

3Spark check

Continue learning · glossary & guides