Hello Michael, I am Henry. I'd like to share some insights regarding the issue.
Just checking—have you had a chance to look at the Log.txt file? It seems the deletion may have come from one of two sources:
- The robocopy command was changed.
- Another process deleted the files.
You can refer to the following checks to investigate further:
- Examine the Header: At the very top of the log, robocopy lists the exact command that was executed. Verify that it matches the command you posted.
- /MIR (Mirror): This makes the destination an exact copy of the source, deleting anything in the destination that doesn't exist in the source.
- /PURGE: This is functionally the same as /MIR when used with /E.
- Examine the Summary: At the bottom of the log, check the "Deleted" line in the summary table. If it shows a non-zero value for files or directories, the robocopy command itself performed the deletion because it was run with /MIR or /PURGE.
Hope this points you in the right direction for troubleshooting.