My question is related to why rsync does not do delta transfer question.
First I create a 1GB file and transfer into
/target folder using rsync. Later I added s
doo string to the tail of that file. When I transfer the same file into
/target folder, I observe that complete file has been transferred instead of transferring only its updated section.
[Q] How could I force rsync to do delta transfer only the updated section of the file? Is is possible or my only option is to transfer complete file all over again?
$ mkdir target $ fallocate -l 1G target/temp_1GB_file $ rsync --inplace --no-whole-file --size-only --progress temp_1GB_file doo temp_10GB_file 1073741824 100% 227.30MB/s 0:00:04 (xfer#1, to-check=0/1) sent 131163 bytes received 229425 bytes 48078.40 bytes/sec total size is 1073741824 speedup is 2977.75 $ echo 'doo' >> temp_10GB_file $ rsync --no-whole-file --size-only --progress temp_1GB_file doo # Here complete file has been transferred all over again. temp_10GB_file 1073741828 100% 226.44MB/s 0:00:04 (xfer#1, to-check=0/1) sent 131171 bytes received 229418 bytes 48078.53 bytes/sec total size is 1073741828 speedup is 2977.74