by LinuxBender · 7y ago · 0 comments
Sftp can't touch the snapshots which protects against malicious access (cryptolockers and such)
Also in term of "safety" (or encryption) many kind of performance depend on how you encrypt your data, and how you compress your transfer because they are pretty CPU-intesinve things...
CPU overhead isn't really a limiting factor these days, assuming your computer is less than a decade old.
With sftp chroot, I can let people upload files without executing files, while preventing eavesdropping. rsync does not support TLS without complex stunnel wrappers on each side.
> The lftp mirror subsystem allows you to break up batches of files, or even a single file using p-get into multiple streams.
I do not see any particular benefit from that... Network reliability is still a bit needed or you still have to restart...
On restricting rsync on the other end there are many guide so again I do not see much benefit and that's not true that you can't encrypt the transfer otherwise with classic ssh transport this is an example
https://sixohthree.com/1458/locking-down-rsync-using-ssh
but you can do many more things, for instance with cryptcat or ncat in the middle to transport... And they normally run faster than ssh tunnels...
What I suspect you will find is that where a single rsync stream might reach a couple hundred mb/s, lftp can saturate the link if you wish. At least, that is what most people find that try it out.