<p><strong>problem statement</strong> <br>
we want to take backup of mongodb running in k8s cluster in azure and export it in some other mongodb running in differnt k8s cluster.
does any one provide pointers related to this</p>

Ganesh Pol
<p>One option is to create a <a href="https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/" rel="nofollow noreferrer">Kubernetes Cronjob</a> with Azure file share as the persistent volume. In the cronjob you can run a mongodump command.</p>

<p>You can also use <a href="https://github.com/stefanprodan/mgob" rel="nofollow noreferrer">MGOB</a> which can help to configure scheduled backups as well.</p>

<p>If you have multiple MongoDB instances on kubernetes, I would recommend you to try MGOB. They would greatly simplify the setup.</p>

<p>If you need a solution which you need to implement, you can choose Kubernetes Cronjob.</p>
