Redis › Redis Backup & Disaster Recovery

How would you set up a disaster recovery plan for Redis that accounts for an entire data center or region becoming unavailable?

Intermediate

Answer

You would maintain replicas or a full standby Redis Cluster in a geographically separate location, regularly synchronize or ship backups to that separate location, document and periodically test a clear failover procedure for redirecting your application to the standby location, and ensure your team knows exactly what steps to take during an actual disaster scenario.
-- Replicate to a standby instance in a different region
REPLICAOF primary_server_in_other_region 6379
Real-world example A global e-commerce company maintains a fully synchronized Redis replica in a separate geographic region, with a documented and regularly tested failover procedure ready to redirect traffic there if their primary data center ever becomes completely unavailable.

Common follow-ups: How often should a disaster recovery failover procedure actually be tested?;What is an acceptable amount of data loss during this kind of regional failover?