Link to home
Create AccountLog in
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?
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
You should use /z which is restartable mode copy option.  It will only copy files that do not exists or are different.
Avatar of oBdA
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.
Avatar of CRL ltd

ASKER

thank you for the feedback
Question answered.