A newer more flexible, and potentially more secure mechanism is rsync.
rsync uses an efficient algorithm to copy only changes to files, rather than requiring the transfer of entire files across a network.
rsync
has file exclusion mechanisms that inform
rsync
which files to keep out of the transfer.
For example,
.bak
files can be excluded so that multiple copies of backup files are not transferred. The exclusion mechanisms are compatible with both tar and
CVS , and may be implemented as either a host-to-host or a client-server mechanism.
Most importantly,
rsync
can use ssh as the transport mechanism rather than the older, insecure
rsh. Consequently, all communications can be encrypted, and use of RSA keys for authentication is available.
- CVS: Concurrent Versions System, is a system that keeps a set of files in sync.
- rsh: sh, the remote shell, is a utility that allows users to log in to a remote system. However, it does not use any type of encryption and therefore is insecure.