Use robocopy to copy only data that has changed since yesterday

Hi Experts.  I am doing a file server migration and did a massive copy job yesterday using robocopy.  Since the copy took so long, I wasn't able to break the share that we are migrating so now I need to copy only the data that changed since yesterday's copy job.  How can I do this?  Thanks for your help!  
LVL 9
samiam41Asked:
Who is Participating?
 
tenaj-207Connect With a Mentor Commented:
I also like to specify everything (e) the retry (r) the verbose level (v) and a out put log.  So it'd look like this.  That means it'd copy everything except if it has an older or THE SAME date, only retry once (the default is some ridiculously high number) and wait time between retrys is 3 sec and the verbosity is set to high.  Lastly I can review the log to confirm that it got everything.


robocopy \\server\share \\nas\share /E /XO /R:1 /W:3 /V /log:c:\output.txt

Open in new window

0
 
tenaj-207Commented:
You have two options.  One you can use the /XO option (eXclude Older), which is would I'd use.  Your second option is to use /MIR which is to mirror the destination with the source.
0
 
samiam41Author Commented:
Essentiall something like this?
robocopy \\server\share \\nas\share /XO

Open in new window

0
 
samiam41Author Commented:
Ahhh.......  That makes much better sense.  I like that.  Alright, I have what I need.  Thanks for your help!
0
 
samiam41Author Commented:
Great work!  I will be putting that into place once I am done here.  Take care!

Regards,
Aaron
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.