Redis › Redis Backup & Disaster Recovery
What is a reasonable backup schedule and retention policy to establish for a production Redis instance?
IntermediateAnswer
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 monthsReal-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.