Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have two NTFS formatted drives on different machines and I do a robocopy mirror between them like this:

robocopy "D:\My Documents" "X:\Backup\My Documents" /MIR /V /NP /XD .* /XO /XA:SHTO /FAT /Z /ETA /DST /R:3 /W:30

But it will falsely mark files as newer, but I haven’t altered it, and it is a lots of files so I don’t think windows have altered them either.

I am running the robocoy in a steady loop and it takes about 15 minutes, so I think something is a bit wrong, anyone have this issue?

Edit 1

Example output:

  • same 17548 draft1.jpg
  • same 98108 draft2.jpg
  • same 104 Spiral3DCopy1.mtl
  • Newer 104 Sphere3DCopy1.mtl
  • Newer 345985 swamp1.jpg
  • Newer 75209 test.jpg

Edit 2 I have done a compare and no differences is found:

C:\>fc D:\Documents\"My Documents"\3d\Sphere3DCopy1.mtl X:\Backup\"My Documents"\3d\Sphere3DCopy1.mtl
Comparing files D:\DOCUMENTS\MY DOCUMENTS\3D\Sphere3DCopy1.mtl and X:\BACKUP\MY DOCUMENTS\3D\SPHERE3DCOPY1.MTL
FC: no differences encountered
share|improve this question
    
Is the time set right on both machines? –  Sven Jan 29 '12 at 16:46
    
Yes, it is, not all files is marked "newer" about 20% maybe –  Cinaird Jan 29 '12 at 16:52
    
Is there anything common about the filetypes that are getting marked newer? –  Trevor Sullivan Jan 30 '12 at 17:54
    
@TrevorSullivan: No, it is randomly distributed among my most common filetypes in the folder. Here is a sample of the most common filetypes: mtl, obj, jpg, png, pdf, pdf, odt, html, txt, psd, rar –  Cinaird Jan 30 '12 at 20:41
    
Are these machines in different time zones? I'm wondering why you're using /DST and whether it could somehow be to blame. –  Larry Silverman Feb 1 '12 at 15:16

1 Answer 1

We found that using the /FFT Robocopy switch will reduce the timestamp to about 2 seconds difference when comparing file changes. It eliminated the 2 hours copying everything when the changed files would normaly take under 3 minutes.

Thanks to the folks at connetrix.

http://www.conetrix.com/Blog/post/Robocopy-Incorrectly-Detects-Files-as-Newer-When-Copying-Between-Different-File-Systems.aspx

Try this:

robocopy "D:\My Documents" "X:\Backup\My Documents" /FFT /MIR /V /NP /XD .* /XO /XA:SHTO /FAT /Z /ETA /DST /R:3 /W:30

It worked for us.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.