Is there a way to force rsync to perform delta-transfers even on local drive-to-drive copies? The reason I ask is that I've started using a USB flash drive as a medium for "poor man's off-site backup". Rsync does a beautiful job on avoiding overwrites of unchanged files, but it would be even better if it only rewrote the portions of large files that had actually changed instead of resending the entire file. [Mail files are probably the largest culprit.] Flash memory will eventually wear out over time, so the fewer the writes, the better. Doing delta-transfers would help. Heck, it might even be faster, given that flash reads are faster than flash writes. Brian
On Fri, Jul 04, 2008 at 02:59:20PM -0400, Brian Lindholm wrote:> it would be even better if it only rewrote the portions of large files > that had actually changed instead of resending the entire file.You can use --no-whole-file with --inplace (since rsync's default update method is to write out a new file and rename it into place). You might also use --append for things like log files if you're SURE that data has only been appended (and be sure to limit that copy to just what you want to update via appending). ..wayne..
Possibly Parallel Threads
- rsync rewrites all blocks of large files although it uses delta transfer
- [PATCH] virtio-blk: make the queue depth the max supportable by the hypervisor
- [PATCH] virtio-blk: make the queue depth the max supportable by the hypervisor
- Computer doesn't boot with new 6.4 kernel
- [PATCH v5 7/8] vhost: cross-endian support for legacy devices