File Synchronization (a.k.a. File Sync) is the process of ensuring that two or more locations contain the same, up-to-date, files. If you add, change, or delete a file from one location, the synchronization process will add, change, or delete the corresponding file at the other location. Synchronization can be “two-way” or “one-way”.
Hello everyone.I have some doubts I hope you can help me:)I've recently set up a VPN through 2 sites, and the next step is trying to keep 2 'file servers' sync'ed. Site 'A': CentOS VM file server (built after reading a lot on Spiceworks forums, why not to use FreeNAS, and so on). Site 'B': Synology NAS with DSM 6.1.There're users that are usually at site 'A' and users that are usually at site 'B'. What I'd want is:. Users that 'belong' to site 'A' syncing their files to the CentOS VM. Users from site 'B' sync to the Syno. 2-way sync between the CentOS and the Syno: CentOS documents from site 'A' replicate to the Syno, and Syno docs from site 'B' replicate to the CentOS.My doubts:.
How can I do the 2-way replication? DSM has like a million places that tell about backups, rsync and replication but I'm really confused: 'control panel - shared folder sync', 'hyper backup', 'hyper backup vault', inside 'hyper backup' I have 'Remote Rsync server' and 'Remote data copy' (not sure if these are the exact translations, as it's not in English). I'm really confused. Do I have to do anything with the CentOS? It's SSH-accessible through the VPN and the only I've just done regarding this topic (I mean, it already has a Samba server running with the shares and all stuff but nothing else regarding to sync it with the Syno)is 'yum install rsync', but I don't know how to follow with the configuration.
Everything I'm finding through Google seems outdated and contradictory. Is there any good option out there to sync Android phones with the CentOS?Thanks in advance. Thank you for the reply.What I mean is:. In the case of Synology (also in the CentOS too) I'd use Rsync. The question is: what are the 5 options I wrote at the OP and what are the differences among them?. If both the Synology-Synology and the CentOS-CentOS would be configured using Rsync. Why not a CentOS-Rsync if both use the same tool?.
What about the 2-way? (AB). It's not really that I want a backup, but a 'replica' up and running. I'd like to have everyday access to the same stuff from both the sides of the VPN without having to look for them at the opposite face of the VPN. For example, if I need an 8GB ISO at 'A', I don't want to take it from the VPN, as it'd take a lot hours to come, so I'd like it replicated before I require it. I don't need real-time replication (it's not a problem if the ISO takes 1 week before replicating), but I need to have the things that are, at least, 1 week old.
Also, there won't be excel sheets being simultaneously edited from both sides, so that also won't be an issue. Dbeato wrote:I would recommend rethinking this to have the same technology on both ends, either it should be Synology & Synology or CentOS and CentOS.
For both you will use the RSYNC as needed.See the instructions on how to use RSYNC with SynologyBackup Linux to SynologyHow about the backups of your Synology and CentOS Server besides sync?It's a good idea to actually separate backup data management and storage appliance (if possible of course) for obvious reasons: make data portable and accessible if storage unit goes AWOL. I'd use everything @ OS or hypervisor level and leave storage as. Bulk storage only:). You can take the guesswork and headache out of setting up this environment with GoodSync.