How Does Rsync Work in Unix?
Contents an Rsync Process Operates by Communicating with Another Rsync Process, a Sender and a Receiver. at Startup, an Rsync Client Connects to a Peer...
An rsync process operates by communicating with another rsync process, a sender and a receiver. At startup, an rsync client connects to a peer process. If the transfer is local (that is, between file systems mounted on the same host) the peer can be created with fork, after setting up suitable pipes for the connection.
How does rsync work Linux?
The Rsync process that has access to the source files being synchronised. As a role the receiver is the destination system. As a process the receiver is the process that receives update data and writes it to disk. The generator process identifies changed files and manages the file level logic.
Must Read
How does rsync keep track of changes?
From man rsync : -c, —checksum This changes the way rsync checks if the files have been changed and are in need of a transfer. Without this option, rsync uses a “quick check” that (by default) checks if each file’s size and time of last modification match between the sender and receiver.