Robocopy help

Soldato
Joined
23 Mar 2007
Posts
2,553
Location
Essex
Hi guys

Just looking for some quick advice using robocopy. Im using the following syntax to copy from server 2012 to my synology nas. All i want is updated files to be copied.

robocopy D:\media \\mynas\media /mir

This works fine but every time its run it wants to copy all the files again. I have tried the /copyall function as well but doesnt appear to work i think due to my nas not having an ntfs file system perhaps?

I decided to try xcopy using

xcopy D:\media \\mynas\media /d /e /y /s and this seems to work great and only copies updated files.

Is there any real performance difference between xcopy and robocopy?

Cheers
 
Because IIRC, /MIR is the same as /Purge and /E combined. What you need to do is add extra modifiers to select onlythings from the last 24 hours for example, or not use the MIR command so that it only copies things that do not already exist in the destination folder.
 
robocopy /FFT /MIR "C:\source\folder" "\\destination\folder"

Check your Synology is updated to the latest software too
 
Thanks Bledd will give that a go for sure

EDIT

Just tried a basic couple of files and it still seems to want to copy the whole lot again over to my nas even though they have not been modified
 
Do this..

Create a new shared folder media2 on nas (empty)
Create a 'media2' folder on your pc

Chuck some files in C:\media2

Run


robocopy /MIR /FFT "c:\media2" "\\nas\media2"


Now add a file to c:\media2

Run the command again.. see what copies..


Is your Synology updated?

I'll test mine tonight with robocopy, what format are your Synology drives? I believe mine are EXT4 (not even sure if you can change this, just covering all bases)
 
Back
Top Bottom