![rsync file synchronization rsync file synchronization](https://www.unixmen.com/wp-content/uploads/2014/05/rsync.jpg)
![rsync file synchronization rsync file synchronization](https://cdn.mos.cms.futurecdn.net/7cda4937ac5d78a9fb8f1f8d3b6c26f4.jpg)
There aren't any added security or speed benefits over FTP for simple file transfer, either. However, it's rarely used for that purpose because it's less lightweight than simply setting up an FTP daemon. It doubles as an effective equivalent of an FTP server. The daemon enables remote users to send files to it and receive files from it. In other words, the server must have a passive listener (rsyncd) running. The rsync protocol can be used on servers that have rsync operating in daemon mode. Many technical documents that refer to "rsync" don't specify which one they mean. The rsync protocolīefore we go into the details, it's important to point out that rsync is both a utility and a protocol.
#Rsync file synchronization how to
Let's dive into how to use it, why to use it, and some real-world examples.
![rsync file synchronization rsync file synchronization](https://3.bp.blogspot.com/-nVwrPhRybTU/W370yCVNTCI/AAAAAAAAAug/VT42Weswz_wlGWzz5-AmQM6SjrybEai9wCLcBGAs/s1600/db%2BStructure%2B%25281%2529.png)
It uses delta encoding, also known as "differential backup". Its popularity over the years have led to it being incorporated into such tools. Since rsync doesn't contain security measures itself, almost all implementations of it put all data through SSH or similar.Įven if you've never heard of rsync, if you use version control tools like git, chances are that you've used it indirectly. This GNU-licensed utility is optimized for use on UNIX-based systems and is still in development decades after its first release. Rsync is a C program originally written in 1996, primarily designed to allow data transfers and synchronization while using minimal network bandwidth.