When to use an rsync server
If a user has a login account on a remote host, it is usually possible to run rsync using SSH without having to configure rsync services. Because the Rsync service uses plaintext passwords, you should try to run rsync in an untrusted network using SSH as much as possible. You can configure an rsync server on a trusted network, or you can run rsync using SSH. The most necessary reason to set up the Rsync server is the anonymous rsync server, which can provide customers with anonymous access to synchronization resources,
For example: Http://www.aliyun.com/zixun/aggregation/18736.html "> allows users to synchronize FTP software resources, Linux release version of the Software warehouse and so on."
Two ways to deploy an rsync server
How do you deploy an rsync server on your network to back up your data? There are usually two ways of doing this:
Running the Rsync service at the same time on the production server The Rsync service provides read-only data to be backed up to avoid disrupting data on the production server as needed, you can configure one or more (for risk-avoidance) hosts to "pull" on each backup host as a backup host The way from the production server to synchronize data to a backup host running the Rsync service backup server on the backup server is actually a data warehouse, and he collects all of the hosts on the network to be backed up by using the Rsync service running on the data backup server to provide backup space as needed, You can configure one or more (to avoid risk) The backup server writes backup data to the backup server in a "push" mode on each host (including production servers) to be backed up
The same way of thinking about backup is also true for running rsync in SSH. Of course, there is no need to set up rsync services, the only question to consider is whether to run in a "push" or "pull" mode.