I am testing Syncovery+rsync (both cwRsync v4.1.0 and v5.4.1) and it does not seem to respect exclusions. Typically, you need to create exclusions for "/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"
Otherwise you get an error Error accessing folder rsync://XXX.XXX.XX.XX/: An unexpected network error occurred. Cannot get rsync listing, error 24, which basically means some files vanished before they could be transferred and the sync fails.
I can see that the exclusion is correct in Syncovery:
- Code: Select all
[Exclusion Masks]
ExcludeFileMasks=/dev/;/proc/;/sys/;/run/;/lost+found
But based on the log, the rsync command created by Syncovery does not include any of this. If I run this command manually:
- Code: Select all
"C:\Program Files\Syncovery\cwRsync\bin\rsync.exe" -t --exclude-from=exclude.txt --no-perms --no-owner --no-group -H --chmod=u+w,a+rX -v --stats --progress --rsh="'C:\Program Files\Syncovery\cwRsync\bin\ssh.exe' -o PasswordAuthentication=no -o KbdInteractiveAuthentication=no -o UserKnownHostsFile='/cygdrive/C/Users/USER/.ssh/known_hosts' -i '/cygdrive/C/Users/USER/.ssh/id_rsa' -p 22" -s -r "root@XXX.XXX.XX.XXX:/" /RightFolder
Where exclude.txt contains:
- Code: Select all
/dev/
/proc/
/sys/
/run/
/lost+found/
It works beautifully.