Modify the Redis persistence mode
NOTE: Please, make sure you perform these steps in all the instances of your deployment.
By default, Bitnami solution uses RDB + AOF persistence to provide a good balance between performance and data durability.
However, you can change the modes to adapt Redis persistence to your needs. There are multiple possibilities to do so. Find below how to disable AOF as an example:
-
Edit the configuration file /opt/bitnami/redis/conf/redis.conf. Change the appendonly configuration directive from yes to no:
appendonly no
-
Edit the Redis configuration file /opt/bitnami/redis/conf/redis.conf. Change the appendonly configuration directive from yes to no as shown below:
appendonly no
This change will apply when you restart the server.
-
(Optional) To apply the change inmediately, execute the following command. Replace the YOURPASSWORD placeholder with the value of your password:
$ redis-cli -a YOURPASSWORD CONFIG set appendonly no
For more information on this, please check the Redis official documentation about Redis Persistence.