(doesn't the topic sound much better than "I'm too stupid for rsync"?)
I managed to set up my OMV server now (with more than a little help from this forum, thanks again to the people involved), and now I'm trying to move all data from my old Synology NAS to the new one with rsync. I use the following command line:
rsync -rtv --exclude @eaDir/ rsync://admin@<syno-ip>:/<syno-directory>/ /srv/<omv-drive>/<omv-directory>
(@eaDir is a directory that the Synology OS creates for shared folders.)
I am not using the -a option because I don't want to preserve the owners and groups from the old NAS.
Now my problem is that the directory structure from the source directory is replicated accurately at the destination, but only the files in the root level are actually copied. So I end up with a lot of empty directories (and missing files).
I thought it might have something to do with write permissions to the directories, so I added the -p switch, but the result is the same.
Does anyone know what I'm doing wrong?