Potential bug when deleting all or last file in folder?
Posted: Wed Jul 29, 2020 3:08 pm
I am using the commandline to perform a backup operation and noticing some peculiar behavior.....the command line being used is:
"c:\program files\syncovery\syncoverycl.exe" /INI="<MyPath>\Syncovery Profiles\JobBackupProfiles_1.ini" /RUNX="Sam_SingleSourceBackup_Profile_1" /P /M /EXCL=".AppleDouble.db;adb;" /LEFT="JobDrive:\SourceFolder" /RIGHT="BackupDrive:\BackupFolder"
Here are examples of the behavior:
------------------------------------------------
TEST 1:
LEFT DRIVE FOLDER
File1
File2
File3
RIGHT DRIVE FOLDER
<empty>
Perform backup operation. This yields...
LEFT DRIVE FOLDER
File1
File2
File3
RIGHT DRIVE FOLDER
File1
File2
File3
This is expected behavior. The files on the Left Folder are duplicated in the Right Folder.
------------------------------------------------
TEST 2:
LEFT DRIVE FOLDER
File1
File2
File3
RIGHT DRIVE FOLDER
File1
File2
File3
-Now delete File 3 from the Left Drive Folder.
-Perform backup operation. This yields...
LEFT DRIVE FOLDER
File1
File2
RIGHT DRIVE FOLDER
File1
File2
This is expected behavior. The deletion from the left drive folder is propagated to the right drive folder.
------------------------------------------------
TEST 3:
LEFT DRIVE FOLDER
File1
File2
RIGHT DRIVE FOLDER
File1
File2
-Delete both (all) files from the Left Drive folder, leaving an empty Left Drive Folder. You should now have:
LEFT DRIVE FOLDER
<Empty>
RIGHT DRIVE FOLDER
File1
File2
Perform the backup operation. This yields:
LEFT DRIVE FOLDER
<Empty>
RIGHT DRIVE FOLDER
File1
File2
This is unexpected behavior. The deletions on the left were not propagated to the Right.
------------------------------------------------
Additional info....
When the unexpected behavior occurs, the STDOUT shows "Nothing to do. deletions disabled."
This doesn't seem to make sense, since the same exact profile/ini/commandline is being performed for all these operations and nothing is being changed.
The inconsistent bahavior seems to follow these rules:
-if a single of multiple files are deleted from the left, but not ALL of the files, then the deletions are propagated to the right.
-if there is only 1 file on the Left and it is deleted, then deletions are not propagated to the right.
-if ALL files on the left are deleted, then deletions are not propagated to the right.
Please advise.
"c:\program files\syncovery\syncoverycl.exe" /INI="<MyPath>\Syncovery Profiles\JobBackupProfiles_1.ini" /RUNX="Sam_SingleSourceBackup_Profile_1" /P /M /EXCL=".AppleDouble.db;adb;" /LEFT="JobDrive:\SourceFolder" /RIGHT="BackupDrive:\BackupFolder"
Here are examples of the behavior:
------------------------------------------------
TEST 1:
LEFT DRIVE FOLDER
File1
File2
File3
RIGHT DRIVE FOLDER
<empty>
Perform backup operation. This yields...
LEFT DRIVE FOLDER
File1
File2
File3
RIGHT DRIVE FOLDER
File1
File2
File3
This is expected behavior. The files on the Left Folder are duplicated in the Right Folder.
------------------------------------------------
TEST 2:
LEFT DRIVE FOLDER
File1
File2
File3
RIGHT DRIVE FOLDER
File1
File2
File3
-Now delete File 3 from the Left Drive Folder.
-Perform backup operation. This yields...
LEFT DRIVE FOLDER
File1
File2
RIGHT DRIVE FOLDER
File1
File2
This is expected behavior. The deletion from the left drive folder is propagated to the right drive folder.
------------------------------------------------
TEST 3:
LEFT DRIVE FOLDER
File1
File2
RIGHT DRIVE FOLDER
File1
File2
-Delete both (all) files from the Left Drive folder, leaving an empty Left Drive Folder. You should now have:
LEFT DRIVE FOLDER
<Empty>
RIGHT DRIVE FOLDER
File1
File2
Perform the backup operation. This yields:
LEFT DRIVE FOLDER
<Empty>
RIGHT DRIVE FOLDER
File1
File2
This is unexpected behavior. The deletions on the left were not propagated to the Right.
------------------------------------------------
Additional info....
When the unexpected behavior occurs, the STDOUT shows "Nothing to do. deletions disabled."
This doesn't seem to make sense, since the same exact profile/ini/commandline is being performed for all these operations and nothing is being changed.
The inconsistent bahavior seems to follow these rules:
-if a single of multiple files are deleted from the left, but not ALL of the files, then the deletions are propagated to the right.
-if there is only 1 file on the Left and it is deleted, then deletions are not propagated to the right.
-if ALL files on the left are deleted, then deletions are not propagated to the right.
Please advise.