Rsync is often used for backup systems, with options such as:
-A --acls : preserve the ACL, if used
-X --xattrs : preserve extended attributes, if used
-H --hard-links : detect and preserve hard links
-a --archive : resources and preserve the usual attributes: symbolic links, devices and special files,
user and group ownership, permissions and schedules
In addition to these stock options, rsync has many other.
Each has its own recipe, but I’d like to share two useful features :