<p>I have put neo4j community edition(v3.2.2) into kubernetes. But the community edition do not support hot backup so I have to shut it down for backup/restore data. </p>

<p>I tried:</p>

<pre><code>kubectl exec neo4j-0 /var/lib/neo4j/bin/neo4j stop
</code></pre>

<p>but it shows:</p>

<pre><code>Neo4j not running
</code></pre>

<p>also tried:</p>

<pre><code>kubectl exec -it neo4j-0 bash
/var/lib/neo4j/bin/neo4j stop
</code></pre>

<p>but still can't stop the neo4j in container</p>

<pre><code>Neo4j not running
</code></pre>

<p>Does any body have a solution?</p>

Miko
<p>For now, <code>offlineMaintenanceModeEnabled</code> is available for Neo4j's Helm chart.</p>
<p><a href="https://neo4j.com/docs/operations-manual/current/kubernetes/maintenance/#put-offline-mode" rel="nofollow noreferrer">https://neo4j.com/docs/operations-manual/current/kubernetes/maintenance/#put-offline-mode</a></p>
<p>You can control the offline maintenance mode by setting <code>neo4j.offlineMaintenanceModeEnabled</code> in Helm's <code>values.yaml</code> to <code>true</code> and <code>false</code>.</p>
