rsync not deleting files from the remote site

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

rsync not deleting files from the remote site

Postby Alexander on Sat Feb 01, 2014 6:25 pm

Hello!

When I set up a profile to create an exact mirror via rsync, the files deleted from the source folder are never deleted from the destination. All the neccessary checkboxes in the exact mirror settings are set, all the warnings in safety settings are turned off. Permissions on the remote side are correct.

Examining the log I've found out that there are no -del or --delete arguments passed to rsync, which is probably the cause of the problem. If I manually call rsync adding any of these options, everything works fine and the expected deletions happen indeed.

Am I still missing something in settings or is it a bug in Syncovery? i'm using v. 6.49 for Windows.
Alexander
 
Posts: 28
Joined: Fri Nov 04, 2011 2:39 am

Re: rsync not deleting files from the remote site

Postby superflexible on Sun Feb 02, 2014 4:23 am

Deletion via rsync has not been implemented, and probably never will, due to limitations of the rsync.exe command line (there is no command line to delete a specific file).
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: rsync not deleting files from the remote site

Postby Alexander on Sun Feb 02, 2014 10:43 am

OK, I've already achieved the same result without rsync. I was, of course, unaware of the internal logic of Syncovery that prevents it from simply using rsync's built-in exact mirroring scheme (with --delete and --delete-excluded arguments)...
Alexander
 
Posts: 28
Joined: Fri Nov 04, 2011 2:39 am


Return to Windows Support * new forum: www.syncovery.com/forum

cron