[solved] Real-Time sync not deleting directories

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

Moderator: SuperFlexible Administrators

[solved] Real-Time sync not deleting directories

Postby jsivak on Fri Dec 07, 2012 2:23 pm

Have Real-Time profile with Exact Mirror option set.

I create a directory with files and sub-directories on the master system, let it replicate to the other server, then delete it. The directory is not deleted on the remote system and the following error is in the profile log:
Code: Select all
This run processes individual real-time events (files and folders).
  0. 12/7/2012 2:18:57 PM DEL L copy_test

  0. Examining delete action, timestamps L/R: unknown/unknown, action time: 12/7/2012 2:18:57 PM
     Scanning folder \copy_test
To perform: cmDelete copy_test

Successfully processed real-time data.

Folder marked for deletion: copy_test

Free Space on left side :    unknown, needed:    0 Bytes
Free Space on right side:    unknown, needed:    0 Bytes

2:19:03 PM.889: About to start copying
Folder deletion will be attempted: \\web7\c$\test\copy_test
2:19:03 PM.889: Copying Pass Complete
Folder not deleted \\web7\c$\test\copy_test (The directory is not empty., attempts: 2)   


Due to a large number fo files in the root directory being synchronized, I am using "Process Each File Event Individually" in the Real-Time settings. I can't use "Process Complete Folders" becuase any change at the root directory seems to for a full recursive directory scan.

Any ideas on why the directories are not being deleted?
Last edited by jsivak on Fri Dec 07, 2012 3:08 pm, edited 1 time in total.
jsivak
 
Posts: 10
Joined: Thu Dec 06, 2012 3:44 pm

Re: Real-Time sync not deleting directories

Postby jsivak on Fri Dec 07, 2012 2:43 pm

I've setup a different test area and profile and tried switching to "Process Complete Folders".

The directory is still not deleted on the remote system, but I don't get an error message in the log anymore:
Code: Select all
Left Side Volume Name:                Local Disk
Right Side Volume Name:               

2:40:58 PM.106: Processing real-time data (folder-based)
This run processes whole folders based on real-time events.
  0. 12/7/2012 2:40:52 PM DEL L New Folder

2:40:58 PM Processing New Folder
2:40:58 PM Path to be changed from New Folder
Left full path:d:\foo\New Folder
Path changed to


2:40:58 PM Processing folder , recursive=N

2:40:58 PM Completed

Free Space on left side :    unknown, needed:    0 Bytes
Free Space on right side:    unknown, needed:    0 Bytes

2:40:58 PM.122: About to start copying
2:40:58 PM.122: Copying Pass Complete
jsivak
 
Posts: 10
Joined: Thu Dec 06, 2012 3:44 pm

[solved] Re: Real-Time sync not deleting directories

Postby jsivak on Fri Dec 07, 2012 3:05 pm

Found the issue:

In Files -> Files (tab), I had "Do not scan destination - copy all files regardless of their existence at destination" checked. I would not have thought that having this checked would prevent delete from occurring but it does.
jsivak
 
Posts: 10
Joined: Thu Dec 06, 2012 3:44 pm

Re: [solved] Real-Time sync not deleting directories

Postby superflexible on Fri Dec 07, 2012 3:36 pm

Yes because the program does not look at the destination with this checkmark. It always assumes that nothing exists on the destination.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: [solved] Real-Time sync not deleting directories

Postby jsivak on Fri Dec 07, 2012 3:41 pm

superflexible wrote:Yes because the program does not look at the destination with this checkmark. It always assumes that nothing exists on the destination.


You may want to update the help/documentation/wording of that feature, since "regardless of their existence at destination" means to me: "I don't care if there are files or not, they are going to either be overwritten or deleted" and that is not the case here.
jsivak
 
Posts: 10
Joined: Thu Dec 06, 2012 3:44 pm


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

cron