rsync -axHAWXS --numeric-ids --info=progress2 /source/ /destination/
What the options do:
-a  : all files, with permissions, etc..
-v  : verbose, mention files
-x  : stay on one file system
-H  : preserve hard links (not included with -a)
-A  : preserve ACLs/permissions (not included with -a)
-X  : preserve extended attributes (not included with -a)
-W  : avoid calculating deltas/diffs of the files (for speed)
-S  : to consider sparse/tiny files
–numerical-ids  : avoids the overhead of mapping UID/GID values (more speed)
–info=progress2 : avoid even more overhead by showing overall progress 
Leave a Reply