- - A new incremental-recursion algorithm is now used when rsync is talking
- to another 3.0.0 version. This starts the transfer going more quickly
- (before all the files have been found), and requires much less memory.
- See the --recursive option in the manpage for some restrictions.
-
- - The default --delete algorithm is now --delete-during when talking to a
- 3.x rsync. This is a faster scan than using --delete-before (which is
- the default when talking to older rsync versions), and is compatible
- with the new incremental recursion mode.
-
- - Added the --delete-delay option, which is a more efficient way to
- delete files at the end of the transfer without needing a separate
- delete pass.
-
- - You may specify --max-delete=0 to a 3.0.0 client as long as the
- receiving side is at least version 3.0.0. This means that you
- can pull from an older rsync with this option, but pushing to an
- older rsync will generate an error. *Be sure to never specify a 0
- value to an older rsync client, or it will be silently ignored.*
-
- - The --hard-link option now uses less memory on both the sending and
- receiving side for all protocol versions. For protocol 30, the use
- of a hashtable on the sending side allows us to more efficiently
- convey to the receiver what files are linked together. This reduces
- the amount of data sent over the socket by a considerable margin
- (rather than adding more data), and limits the in-memory storage of
- the device+inode information to just the sending side for the new
- protocol 30, or to the receiving side when speaking an older protocol
- (note that older rsync versions kept the device+inode information on
- both sides).
+ - Added the --remote-option=OPT (-M OPT) command-line option that is useful
+ for things like sending a remote --log-file=FILE or --fake-super option.
+
+ - Added the --info=FLAGS and --debug=FLAGS options to allow finer-grained
+ control over what is output. Added an extra type of --progress output
+ using --info=progress2.
+
+ - The --msgs2stderr option can help with debugging rsync by allowing the
+ debug messages to get output to stderr rather than travel via the socket
+ protocol.
+
+ - Added the --delete-missing-args and --ignore-missing-args options to
+ either delete or ignore user-specified files on the receiver that are
+ missing on the sender (normally the absence of user-specified files
+ generates an error).
+
+ - Added a "T" (terabyte) category to the --human-readable size suffixes.
+
+ - Added the --usermap/--groupmap/--chown options for manipulating file
+ ownership during the copy.
+
+ - Added the "%C" escape to the log-output handling, which will output the
+ MD5 checksum of any transferred file, or all files if --checksum was
+ specified (when protocol 30 or above is in effect).
+
+ - Added the "reverse lookup" parameter to the rsync daemon config file to
+ allow reverse-DNS lookups to be disabled.
+
+ - Added a forward-DNS lookup for the daemon's hosts allow/deny config. Can
+ be disabled via "forward lookup" parameter (defaults to enabled).
+
+ - Added a way for more than one group to be specified in the daemon's
+ config file, including a way to specify that you want all of the
+ specified user's groups without having to name them. Also changed the
+ daemon to complain about an inability to set explicitly-specified uid/gid
+ values, even when not run by a super-user.
+
+ - The daemon now tries to send the user the error messages from the
+ pre-xfer exec script when it fails.
+
+ - Improved the use of alt-dest options into an existing hierarchy of files:
+ If a match is found in an alt-dir, it takes precedence over an existing
+ file. (We'll need to wait for a future version before attribute-changes
+ on otherwise unchanged files are safe when using an existing hierarchy.)
+
+ - Added per-user authorization options and group-authorization support to
+ the daemon's "auth users" parameter.
+
+ - Added a way to reference environment variables in a daemon's config file
+ (using %VAR% references).
+
+ - When replacing a non-dir with a symlink/hard-link/device/special-file,
+ the update should now be done in an atomic manner.
+
+ - Avoid re-sending xattr info for hard-linked files w/the same xattrs
+ (protocol 31).
+
+ - The backup code was improved to use better logic maintaining the backup
+ directory hierarchy. Also, when a file is being backed up, rsync tries
+ to hard-link it into place so that the upcoming replacement of the
+ destination file will be atomic (for the normal, non-inplace logic).
+
+ - Added the ability to synchronize nano-second modified times.
+
+ - Added a few more default suffixes for the "dont compress" settings.
+
+ - Added the checking of the RSYNC_PROTECT_ARGS environment variable to allow
+ the default for the --protect-args command-line option to be overridden.
+
+ - Added the --preallocate command-line option.
+
+ - Allow --password-file=- to read the password from stdin (filename "-").
+
+ - Rsync now comes packaged with an rsync-ssl helper script that can be
+ used to contact a remote rsync daemon using a piped-stunnel command.
+ It also includes an stunnel config file to run the server side to
+ support ssl daemon connections. See the packaging/lsb/rsync.spec
+ file for one way to package the resulting files. (Suggestions for
+ how to make this even easier to install & use are welcomed.)
+
+ - Improved the speed of some --inplace updates when there are lots of
+ identical checksum blocks that end up being unsuable.
+
+ - Added the --outbuf=N|L|B option for chosing the output buffering.
+
+ - Repating the --fuzzy option now causes the code to look for fuzzy matches
+ inside alt-dest directories too.
+
+ - The --chmod option now supports numeric modes, e.g. --chmod=644,D755
+
+ - Added some Solaris xattr code.
+
+ - Made an rsync daemon (the listening process) exit with a 0 status when
+ it was signalled to die. This helps launchd.
+
+ - Improved the RSYNC_* environment variables for the pre-xfer exec script:
+ when a daemon is sent multiple request args, they are now joined into a
+ single return value (separated by spaces) so that the RSYNC_REQUEST
+ environment variable is accurate for any "pre-xfer exec". The values in
+ RSYNC_ARG# vars are no longer truncated at the "." arg (prior to the
+ request dirs/files), so that all the requested values are also listed
+ (separately) in RSYNC_ARG# variables.
+
+ EXTRAS:
+
+ - Added an "instant-rsyncd" script to the support directory, which makes
+ it easy to configure a simple rsync daemon in the current directory.
+
+ - Added the "mapfrom" and "mapto" scripts to the support directory, which
+ makes it easier to do user/group mapping in a local transfer based on
+ passwd/group files from another machine.
+
+ - There's a new, improved version of the lsh script in the support dir:
+ it's written in perl and supports -u without resorting to using sudo
+ (when run as root). The old shell version is now named lsh.sh.
+
+ - There is a helper script named rsync-slash-strip in the support directory
+ for anyone that wants to change the way rsync handles args with trailing
+ slashes. (e.g. arg/ would get stripped to arg while arg/. would turn into
+ arg/).