redis key after redis server shutdown and restart not available <p>To add keys to redis I did the following via the redis CLI:</p> <pre><code>127.0.0.1:6379&gt; KEYS * 1) "key1" 2) "key2" 3) "key3" 127.0.0.1:6379&gt; SET name "rahul" OK 127.0.0.1:6379&gt; KEYS * 1) "key1" 2) "name" 3) "key2" 4) "key3" 127.0.0.1:6379&gt; </code></pre> <p>To validate the persistence of the data in my redis data store, I re-started the server, upon checking the keys, I found few keys to be missing :</p> <pre><code>127.0.0.1:6379&gt; KEYS * 1) "key3" 2) "key2" 3) "key1" 127.0.0.1:6379&gt; </code></pre> <p>Are there any specific naming conventions for redis keys. I was using a Windows system. Any idea of what has gone wrong. TIA. </p>