A quick random tech tip..

If you're anything like me, and you're using your FreeBSD box to run samba as well as a squid cache.. actually, I don't think there's any sort of an intro which is going to make this tech tip sound like it's at home.

I was trying to use Robocopy with /MIR in order to sync up some files between a samba share and my main box. My first copy worked fine and all files/directories were copied over as expected. However, the second copy also attempted to copy everything again. My google search was interesting - a lot of people were talking about how they're doing this, and it works fine etc. A few people mentioned that they were having the same problem as me and couldn't work it out!

What very few people mentioned is that you need to use the /FFT switch when copying between NTFS and Linux/Unix/FAT file systems. This forces Robocopy to use FAT style timestamps which have a granularity of 2 seconds. Switch added to the backup batch file, and all is well!

Technorati tags:

Posted on Tuesday, August 14, 2007 11:23 PM | Miscellaneous

Like this? Share it!

No comments posted yet.

Post a comment
Please add 3 and 7 and type the answer here:
Remember me?
Ensure the word in this box says 'orange':