RSync to WebDAV mounted volume very slow
I have a mounted WebDAV store, which I am playing around with to try and put together my own pseudo-DropBox set up. However, it seems very slow to upload larger files (my bandwidth graph goes ok for a little bit, then just stops dead for long periods of time).
Has anyone tried this? I'm wondering if the way it gets mounted makes rsync
think it's a local drive or something and so may be chattier than it would be if it knew it was a mounted network drive ?
I'm syncing using the following command:
rsync -rv /source/directory/ /mounted/webdav/directory/
This is running using MacOS 10.6, and WebDAV is mounted using the native mounting mechanism.
Solution 1:
Check the man page for
--size-only
because most webdav implementation do not accept setting modification time--no-whole-file
to tell rsync its handling a remote filesystem--inplace
having rsync replacing files directly, instead of uploading an then replacing
Btw, I am using another encfs layer to encrypt files on the webdav, and I am quite happy with the performance.