How to handle messages without drop when redis got stopped abnormally


I have a cluster with 3 persistent nodes which act as a server and running on separate machine. And I am persisting the events into redis datastore which is hosted in remote machine. And I have client which is running on my machine

When I send start as message from client to server it will persist a data into redis db for every 2000ms. If my redis db stopped in between then my messages are dropped.

How to handle these scenarios without losing the message