Avatar of CRL ltd
CRL ltd
 asked on

Robocopy Incremental

We are migrating data onto a new server and were wondering if you can do a form of incremental robocopy?

we started copying data across from one server to another but it got interrupted, so we need to run the transfer again but only copy the differences not the whole lot again.

any advice on robocopy switches would be appreciated?
Windows Server 2012Big Data

Avatar of undefined
Last Comment
oBdA

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
oBdA

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Mohammed Khawaja

You should use /z which is restartable mode copy option.  It will only copy files that do not exists or are different.
oBdA

/z has nothing at all to do with that. As I said: robocopy will by default skip files that already exist in the target in the same version. There is no additional command line option required - you'd actually need the option /is ("include same") to force it to copy over existing files.
"Restartable mode" means that if he copy is interrupted while copying a file, the next copy attempt can try to continue where the former attempt stopped. This does not always work anyway, it's usually unnecessary in a LAN where you typically have a stable connection, and it creates overhead which slows down the copy. /z is mostly useful when copying large files over unreliable connections.
CRL ltd

ASKER
thank you for the feedback
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
oBdA

Question answered.