by kgtm · 10y ago · 0 comments
This is a really important aspect for many workflows dealing with large files (like TrueCrypt containers). Contrary to what is stated by the rclone developer [1], at least Dropbox supports binary diffs [2].
This should be looked into, at least for Dropbox.
[1] http://rclone.org/faq/#why-doesn-t-rclone-support-partial-tr...
The ideas behind are actually used in multiple places, through the librsync project (https://github.com/librsync/librsync). rdiff-backup and duplicity are 2 known examples, and surely in other projects as well.
https://developers.google.com/drive/v3/web/properties
I wonder if you could add hashes and checksums to files in this way? The trick would be adding the server-side app service manage these.
Binary diffs would be useful if you're syncing big files that change often; but then you have the limitations of the object storage implementations and (most of) their APIs. I'm not familiar with all the storage, but in the case of OpenStack Object Storage (swift), you can't upload part of an object.
You could split each file in chunks and then store those chunks, but the 1:1 mapping wouldn't be there (meaning that you need rclone to get your files back).