<p>I have a small instance of influxdb running in my kubernetes cluster.<br>
The data of that instance is stored in a persistent storage.<br>
But I also want to run the backup command from influx at scheduled interval.<br></p>
<pre><code>influxd backup -portable /backuppath
</code></pre>
<p>What I do now is exec into the pod and run it manually.<br>
Is there a way that I can do this automatically?</p>

<p>You can consider running a CronJob with <a href="https://bitnami.com/stack/kubectl/containers" rel="nofollow noreferrer">bitnami kubectl</a> which will execute the backup command. This is the same as <code>exec into the pod and run</code> except now you automate it with CronJob.</p>
