Redis persistence means writing the redis data to durable storage in case the redis service restarts.

There are multiple ways in which a user can enable persistence in redis.

The two substantial persistence options in redis are:- 1. Redis persistence default(RDB) 2. Append only file(AOF)

Users can also choose not to enable persistence at all..

Takes point-in-time snapshots of the redis dataset at specified intervals.

1. RDB persistence

Logs every write operation received by the server, and use it to reconstruct the original dataset.

2. AOF persistence

Users can also choose to enable both RDB and AOF persistence.

Persistence can be  added/deleted/modified via /etc/redis.conf file