Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To restore:
1. Stop redis
2. Copy backup dump.rdb to its original location
3. Restart redis

There is a small chance that the RDB is incomplete so it is possible to setup redis to also use an append only file which combined with the RDB is safest. This can be configured by passing some to the redis command:
redis-server --appendonly yes --maxmemory-policy noeviction --auto-aof-rewrite-percentage 100 --auto-aof-rewrite-min-size 8mb
See https://redis.io/docs/management/persistence/ for more details.

Minio (if using)

Backing up and restoring minio can be as simple as copying the bucket directories to a backup location and restoring them. (This approach will restore binary content but may lose object version history and metadata.)

...