Back to results for “Persistence (RDB/AOF)”
Redis › Redis Backup & Disaster Recovery

What is a reasonable backup schedule and retention policy to establish for a production Redis instance?

Intermediate

Answer

A reasonable approach often includes taking frequent RDB snapshots, such as every few hours, retaining daily backups for a few weeks and weekly backups for several months, storing backups in a separate location from the production server itself, and regularly testing that these backups can actually be restored successfully rather than just assuming they work.
-- Example retention approach
-- Hourly snapshots kept for 24 hours
-- Daily snapshots kept for 30 days
-- Weekly snapshots kept for 6 months
Real-world example A company establishes a tiered backup retention policy for their critical Redis instance, keeping recent snapshots for quick recovery from minor issues while retaining older weekly backups for protection against problems discovered much later.

Common follow-ups: How do you decide the right retention period for your specific application?;What storage cost considerations come with a longer retention policy?