Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 569 — #595
i
i
i
i
i
i
i
i
23
File Synchronization
23.5.3 For More Information
The first point of reference is the home page of the subversion project at
http://subversion.tigris.org/. A highly recommendable book
can be found in the directory file:///usr/share/doc/packages/
subversion/html/book.html after installation of the package
subversion-doc and is also available online at http://svnbook.red-
bean.com/svnbook/index.html.
23.6 Introduction to rsync
rsync is useful when large amounts of data need to be transmitted reg-
ularly while not changing too much. This is, for example, often the case
when creating backups.
Another application concerns staging servers. These are servers that store
complete directory trees of web servers that are regularly mirrored onto a
web server in a DMZ.
23.6.1 Configuration and Operation
rsync can be operated in two different modes. It can be used to archive or
copy data. To accomplish this, only a remote shell, like ssh, is required on
the target system. However, rsync can also be used as a daemon to provide
directories to the network.
The basic mode of operation of rsync does not require any special config-
uration. rsync directly allows mirroring complete directories onto another
system. As an example, the following command creates a backup of the
home directory of tux on a backup server named sun:
rsync -baz -e ssh /home/tux/ tux@sun:backup
The following command is used to play the directory back:
rsync -az -e ssh tux@sun:backup /home/tux/
569
SUSE LINUX Enterprise Server










