Robocopy incremental sync

Experts, I am currently running a full copy to a new File server using command ->  robocopy "\\source\folder1" . /mir /COPYALL /E /R:5 /Log:C:\temp\folder1.txt

Destination server is 2012R2 and source is 2003R2 Server

I needed to know how I can run the incremental sync after a few days to copy over any modified data to this destination folder

TIA
abhijitm00Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
You just repeat the exact same command. Because of the /MIR, any change on the source will get reflected to the destination, including file deletions.
You can run that commandline as often as you want. Besides the load for scanning both file systems there will be no impact based on the frequency of execution.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
abhijitm00Author Commented:
Thanks Qlemo, what I am noticing is that the top level folder i.e. folder1 is not getting the correct security permissions with the above mentioned command also the shares are not being created after command completes. Is that normal?
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Shares cannot get created by RoboCopy, you'll have to do that with some other tool (and it is not easy to do remotely).
AFAIK the root folder is not touched after being created. I don't know if adding /DCOPY:T (copy folder timestamp) helps, but you should use that option anyway.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

yo_beeDirector of Information TechnologyCommented:
Have you looked info DFS?  If you have not deployed your new FS it might be a good time to implement this.  It helps in many levels for future changes on backend with little impact on the end users.

Some line item to consider :
Replication
Server changes
Future failover
abhijitm00Author Commented:
Thanks yo_bee for the feedback. Currently we are only going in with one server but I do have DFS planned for the future
yo_beeDirector of Information TechnologyCommented:
One server or 10 servers DFS should be implemented in my opinion. This making even a single file server move that much easier.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.