Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #4431
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: Questions about rsync |
| Date | 2019-06-24 15:08 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnqh1pr8.ds3.dan@djph.net> (permalink) |
| References | <qeqomt$kt9$1@news.albasani.net> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Spyridon Metaxas wrote: > An rsync client can specify a number of options to shape the file > synchronization that it launches. One of those options is compression. > Two questions on this: > > 1. When rsync is launched over SSH, is this option passed down to > the SSH transport, or is it totally independent? If the latter, we could > have compression at the rsync protocol, and then compression at the SSH > transport, right? This is probably not a good idea, but I am just > interested to learn how things are done in this respect. It's possible to try (IIRC) -- but yes, doubly-compressing just burns cpu cycles for the most part. > > 2. Is the server allowed NOT to honor the compression request > from the client? Again, taking SSH as a reference - it's just that I am > more familiar with it than with rsync - the server is allowed to ignore a > compression request from the client. Is an rsync server allowed to do so > as well, or is it the case that the synchronization can't succeed if the > server, for whatever reason, does not support compression? as far as I am aware, no. Remember that the compression is merely on-the-fly, somewhat equivalent to tar -czvf -- list-of-files | nc server.com portno (server) nc receive | tar -xf -- -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl0Q52cACgkQjhHd8xJ5 ooF2Cgf/a7OXhoSLxBJkAU32zJe4keQ4y078UVwlqTXzsNsEooUj3RrmRRohhLmj Uhiny8pRuriHo1giIPuEUdBEnfl6ITVj8XHKM4HKiAg80xqq4p7qYEsmF56khNQm rMO2DUjiMCiyy/lN9zRNA3CKuw7+VNqUIiaeFd01zJ8P+PTIiVeZXArhMOxtp3eZ 4fmBD+lCsWQhthESviiRDQq0ecMUp2cvFdzmJeADY5zoT9QvQpz/1ZHU5flxrl0q UZMKYFSGC+1Fl4UrrAD+yMprF1YHeHMgMnNaVG6d02E9yiLAvEL4Y61QfwGPF+gI 7Z//WPZD1Y8nYqtE7rNpXuaslFdPjg== =xqyS -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Questions about rsync Spyridon Metaxas <SMet@somewhere.world> - 2019-06-24 15:02 +0000 Re: Questions about rsync Dan Purgert <dan@djph.net> - 2019-06-24 15:08 +0000 Re: Questions about rsync Grant Taylor <gtaylor@tnetconsulting.net> - 2019-06-24 09:09 -0600
csiph-web