Redis supports two main modes of persistence: RDB and AOF. The RDB mode of persistence takes a snapshot of your database at a point in time. In the RDB mode, Redis forks off a process to persist the database to disk. AOF logs every operation executed against the server into a replay log that can be processed at startup to restore the state of the database.