Need a permanent solution for Kobo Data Missing from mongo

I already try this. But I need a permanent solution. My servers data missiong suddenly. Sometime 1 day,sometime 1 months and last day the time was 2 hours… Please suggest us.

  1. Enter the KoBoCAT container with docker exec -it kobo-docker_kobocat_1 bash
  2. Use this command inside the container to synchronize MongoDB with Postgres:

root@kobocat:/srv/src/kobocat# ./manage.py sync_mongo --remongo