Concerning compression

JCA 1.41421 at gmail.com
Mon Jun 24 16:08:35 UTC 2019


An rsync client can specify data compression by means of the -z option.
Under Linux, an rsync server can specify that compression is not allowed by
means of

    dont compress = *

in the /etc/rsyncd.conf file.

The thing is, the man page for rsyncd.conf says that this setting applies
to served files. This would seem to imply that, if the client is pushing a
set of files/directories with the -z option, compression will take place,
even in the presence of 'dont compress = *' in /etc/rsyncd.conf in the
server system. However, if the client is pulling files from the server then
no compression will take place, no matter what the client says.

Is this a correct interpretation? If so, is there a way for the server to
prevent compression from taking place, under all circumstances, and no
matter how the client was invoked?

In a nutshell, what I would be interested in is for the server to be able
to decide whether or not compression is going to be used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20190624/a4e00d75/attachment.htm>


More information about the rsync mailing list