Questions on Robocopy syntax to copy changes on files and folders

Takami Chiro 66 Reputation points
2021-11-16T00:01:08.757+00:00

Hi everyone,

Good afternoon. Hope you are all doing well.

I already copied the data from an old file server to a new one. Now I would like copy only the changes of those files and folders in order to minimize the downtime. I would like to ask if my following syntax is correct ?

robocopy \oldFileserver\e$ \10.3.0.73\e$ :\ /E /ZB /XO /COPYALL /R:2 /W:3 /log:c:\MyRobologfile.txt

I use the /XO would it be alright for this purpose?

Also, if I want to exclude appdata folders for the user profiles folder, what robocopy syntax should I use? Besides, I want to exclude copy APPLICATION FOLDER folder in each of the different user profile folder during the "sync". Can I use wild card for that? eg: e:\profiles*\application data\ ?

Thank you for your help!

Takami Chiro

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,714 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.