I've read a lot of threads on this subject over the years, but was never satisfied with the answers. I've got a client that has an office in Georgia and one in Alabama. This is literally the second client I've had in the exact same situation. I'm going to be installing Ubiquiti equipment on each end and have a site to site VPN connecting the two offices. I've sold them on a TrueNAS system, utilizing Nextcloud for their sharing needs. They will have a TrueNAS system in each location with the exact same hardware.
Their main office is in Georgia, but I want the Alabama office to be able to get to the same files just as fast as the Georgia office can, as well as utilizing both servers as an offsite backup against each other. My thoughts were to install the exact same hardware and software in both locations and have some kind of geographical DNS load balancing, so that people in Alabama going to example.com will hit the Alabama Nextcloud server and the workers in Georgia going to example.com will hit the Georgia Nextcloud server.
The thing I'm trying to figure out, is how to sync both servers to have the same files at all times. I'm not sure if FreeNAS/TrueNAS can do this or if this is something that Nextcloud can take care of. I thought FreeNAS replication would do this, maybe it does, I don't know. I did it once and I don't remember being able to use the replicated files other than to restore the system they were replicated from. I've also tried federated sharing, but it didn't make a whole lot of sense. I don't want to be able to distinguish between the two Nextcloud instances at all. I want it to sync users and groups as well. I really don't want to be able to distinguish between the TrueNAS systems either, other than IP address.
Is this possible....easily?
Their main office is in Georgia, but I want the Alabama office to be able to get to the same files just as fast as the Georgia office can, as well as utilizing both servers as an offsite backup against each other. My thoughts were to install the exact same hardware and software in both locations and have some kind of geographical DNS load balancing, so that people in Alabama going to example.com will hit the Alabama Nextcloud server and the workers in Georgia going to example.com will hit the Georgia Nextcloud server.
The thing I'm trying to figure out, is how to sync both servers to have the same files at all times. I'm not sure if FreeNAS/TrueNAS can do this or if this is something that Nextcloud can take care of. I thought FreeNAS replication would do this, maybe it does, I don't know. I did it once and I don't remember being able to use the replicated files other than to restore the system they were replicated from. I've also tried federated sharing, but it didn't make a whole lot of sense. I don't want to be able to distinguish between the two Nextcloud instances at all. I want it to sync users and groups as well. I really don't want to be able to distinguish between the TrueNAS systems either, other than IP address.
Is this possible....easily?