Jump to: navigation, search


No change in size, 4 years ago
no edit summary
The solution to this problem is to use the {{c|-t}} option (enabled as part of {{c|-a}} as well) to enable modification time updates. When you do this, the modification time of the remote file will be updated to match that of the local file. Then, on a successive rsync invocation, rsync will compare the local and remote size and modification time, find that they both match, and will not invoke the delta-transfer algorithm. Congratulations -- if the files you were rsyncing were 50GB, then you just saved about 100GB of disk IO.
{{Note|If rsync has difficulty setting remote modification times on remote symlinks or directories, use the {{c|-jJ}} and {{c|-O}} options to disable setting of times on symlinks and directories respectively. This can sometimes be an issue depending on ACLs and other permission differences on the remote host.}}
Bureaucrats, Administrators, wiki-admins, wiki-staff

Navigation menu