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.
- Enter the KoBoCAT container with
docker exec -it kobo-docker_kobocat_1 bash
- Use this command inside the container to synchronize MongoDB with Postgres:
root@kobocat:/srv/src/kobocat# ./manage.py sync_mongo --remongo