I am using WebDAV client to mount
ownCloud folder (or any other cloud's folder) as a driver on my local computer
sudo apt-get install davfs2 mkdir oc sudo mount.davfs https://b2drop.eudat.eu/remote.php/webdav/ oc
In this scenerio, assume that I have a single compressed file (
A.tar.gz) on the mounted folder and that file is copied into my local directory as
Later that file is updated on the mounted directory and I want to copy only its updated section to my local directory using:
rsync --no-whole-file oc/A.tar.gz /home/local/B.tar.gz, if possible without downloading the whole file.
Based on the
the rsync algorithm only the pieces of
A.tar.gz that are not found in
B.tar.gz plus a small amount of data for checksums and block indexes should be sent over the link between source and the target.
In this scenario, when I use
rsync over mounted folder, during the calculation of the checksum in order to transfer only the parts that have been modified:
rsync has to read the whole file, which will lead the complete data to be downloaded into the mounted directory instead of only its updated section?
Please note that there is a good explaination for rsync over sshfs on the following line: Differences between rsync on remote and rsync local on mounted sshfs?