Skip to content

Using Robocopy to Sync Data From Windows 2012 to NAS (Linux)

10/16/2012

This week I had to migrate data from a Linux server for Windows and I went through a problem that already knew where all executions Robocopy copies again unchanged files with the status "Modified" or "Never".

I have a Netgear ReadyNAS Duo to run VMs and file backup and at the time of purchase I set up a script to synchronize data between your notebook and the NAS that uses ext3, FAT32 compatible.

The problem is that FAT32 uses timestamp on files with precision of 2 milliseconds other than NTFS, as shown in the print below. Note that the file on the left is the location (S) and the one on the right of the NAS and see the difference in the tags "Created" and "Modified":

Print

To resolve this, there is a very simple solution: Add the /FFT parameter at the end of the command.

Now synchronization occurs successfully, will still show the message "Changed" in the files in the output of the command, but he will no longer copy these files unchanged.

Source: http://technet.microsoft.com/pt-br/library/cc733145%28v=ws.10%29.aspx

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: