rsync volume to volume with speed in consideration

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


Comments

Leave a Reply

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