diff --git a/roles/fedora-docs/proxy/files/docs-rsync.stg b/roles/fedora-docs/proxy/files/docs-rsync.stg index 5392922c87..f0d9730d9e 100755 --- a/roles/fedora-docs/proxy/files/docs-rsync.stg +++ b/roles/fedora-docs/proxy/files/docs-rsync.stg @@ -13,7 +13,15 @@ # BUT see https://pagure.io/fedora-infrastructure/issue/12848 -rsync_cmd="rsync --timeout 300 -aH --delete --delete-after --delete-excluded" +# -a is the std. copy everything "archive" mode. +# -H means try to copy hardlinks as hardlinks +# --no-times --checksum means that if the file changes mtime we still keep +# the old file (and thus. the old hardlink). +rsync_cmd="rsync -aH \ + --no-times --checksum \ + --timeout 300 \ + --delete --delete-after --delete-excluded" + old=sundries01::docs/ new=sundries01::docs-redirects/