Fast rsync in the year 2020

TL;DR;

rsync -aHAXxv –numeric-ids –delete –info=progress2 -e “ssh -T -c aes128-gcm@openssh.com -o Compression=no -x” <source> <target>

options:

a – archive
H – preserve hard-links
A – preserve ACLS
X – preserve extend attributes
x – don’t cross filesystem boundaries
v – verbose
–numeric-ids – don’t map uid/gid values by user/group name
–delete – delete extraneous files from destination dirs
–info=progress2 — show progression
-e “ssh -T -c aes128-gcm@openssh.com -o Compression=no -x”

<source>
<target>

The flags made the sync much faster…

arcfour is dead, for a long time… same with blowfish… so aes128-gcm@openssh.com is the next best thing.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *