rsync Daemon Mode
Start the rsyncd daemon on one of your systems to make use of the full functionality
of rsync. In this mode, it is possible to create synchronization points (modules) that can
be accessed without an account. To use the rsyncd daemon, proceed as follows:
Procedure 34.3
Advanced Setup for rsync Synchronization
1
Log in as root and install the rsync package.
2
Congure your synchronization points in /etc/rsyncd.conf. Add a point
with its name in brackets and add the path keyword like in the following exam-
ple:
[FTP]
path = /srv/ftp
comment = An Example
3
Start the rsyncd daemon as root with rcrsyncd start. To start the rsync
service automatically during each system boot, run insserv rsyncd.
4
List all les located in the /srv/ftp directory (note the double colon):
rsync -avz jupiter::FTP
5
Initiate the transfer by providing a target directory (in this example, the current
directory is represented by a dot):
rsync -avz jupiter::FTP .
By default, les are not deleted while synchronizing with rsync. To force le deletion,
add the --delete option. To make sure that --delete does not accidentally remove
newer les, use the --update option instead. Any conicts that arise must be resolved
manually.
34.5.3 Transferring Files with Unison
Before using Unison to synchronize les and directories between different computers,
make sure that the following requirements are met:
552 Reference