Hi, we have a customer whose internet connection might fall at any time. We’ve decided to do a local installation, although we would like make backups of their database on our own, so if they local server goes down, they could keep working with our replication on our server. But we would prioritize working on their local one.
Expected behaviour :
- If local mongo and remote are available → local
- If local mongo loses connection with remote mongo, but local is avaible from local web server → local
- If local mongo is not accessible from local web server → remote
What options do we have to achieve this behaviour ?