Hi, I’d appreciate some ideas on how to keep 2 remote Nextcloud servers in sync to build up a poor man’s HighAvailability.
Mainly to sync Nexcloud files (2-way nearly-real-time sync), but calendar and contacts (thus the database) might step-in in the future.
- A reserved domain name
- A couple road users (they can be either at Workplace, at Home or at another remote location)
- 2 remote servers (different hardware)
- neth1: one NethServer (LDAP, Nextcloud, etc.)
- shared folder for local users
- same shared folder mounted in Nextcloud as external storage (to give access to cloud users without a VPN)
- neth2: one NethServer (Nextcloud)
Some Use Cases:
- If Workplace (neth1) loses Internet access, remote users could use neth2
- If neth1 breaks, any user could connect to neth2
Which options are available?
- A cluster? (might be overkill: hardware requirements, setup complexity)
- syncing the servers? [lsyncd | csync2 | osync | csync | Syncthing …] + Nextcloud’s