I am evaluating if Robocopy will be a good option for me for my backup script that will take backup of only newer files from C drive (NTFS) to a Pendrive (exFAT).
I have this command that I am running. It does the job but seems there's incorrect logging when the destination is a removable USB pen drive and that too exFAT formatted. This issue does not occur if destination is FAT or NTFS.
robocopy C:\Temp\F1 D:\F1 /XO /E /FFT /LOG:C:\Temp\robo.txt /NP /NDL /R:1 /W:3
In the above command D: was the pendrive letter and the command or .BAT file was always run as administrator on Windows 7 Ultimate 64.
The issue appears with Case 2 as described below.
Case 1 - See the log screenshot. This appears correct. All copied file names are logged and copy stats are correct. 3 Files are copied.
Case 2 - I add one more file in source. Now it only copies this new file but shows all files in log and stats are wrong. It says 4 files copied.
This type of inconsistent logging happens only when the destination is exFAT formatted pendrive. No issues with FAT or NTFS.
OS - Windows 7 Ultimate 64.
- Is this some issue or bug in Robocopy logging when destination is exFAT pen drive?
- If not, am I missing any option in the command that should fix this?
Would greatly appreciate further clarity on this.
Case 3 - No change, still it list all 4 files in log file.
/FFT or absence thereof does not change the log data.
I checked using Free File Sync, both directories are in Sync when it comes to file size, timestamp and actual contents. I believe it's not copying but still logging.
I placed 2 large files in source together 312 MB. It takes 42 seconds to copy then to USB 2 pendrive destination. Log is fine.
Now I run the command again. It finishes in 0 seconds but still logs 2 files and stats show 2 files copied. I am certain this is not possible with 312MB data on USB 2.0 pendrive.