Solved

Robocopy command - copy changes

Posted on 2013-10-25
7
756 Views
Last Modified: 2013-10-25
Hi

I want to use robocopy to copy files from one drive to another, but i only need to copy the changes. Is that possible with robocopy?

Also i want to do it multi threated if possible. I know the /mt:128 but aint working on ther server 2003 im doing all this on.

there are many links on google, but cant seem to find one that actually does this?

/Danni
0
Comment
Question by:dannibach
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 5

Expert Comment

by:DamjanDemsar
ID: 39599703
robocopy reference
/xo  for example excludes older files
0
 
LVL 6

Accepted Solution

by:
crash2000 earned 334 total points
ID: 39599711
robocopy <source> <destination> /mir

That will create a mirrored copy. So when run a second time, will just copy changed files
0
 

Author Comment

by:dannibach
ID: 39599715
hey both...

thanks for the answers.

i  am little afraid to use the MIR again cause somewhere it said that MIR would delete files as well?

/Danni
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 5

Assisted Solution

by:DamjanDemsar
DamjanDemsar earned 166 total points
ID: 39599716
if you delete files on source /mir deletes same files on target

if you do not want this use /e /xo
0
 
LVL 6

Assisted Solution

by:crash2000
crash2000 earned 334 total points
ID: 39599720
It does delete files in the destination that are no longer in the source. But will not delete source files.

or Damjam idea
robocopy <source> <destination> /xo /e
will copy over new files and directories only
0
 

Author Closing Comment

by:dannibach
ID: 39599721
fantastic guys. thx
0
 
LVL 6

Expert Comment

by:crash2000
ID: 39599725
Glad to help

Mark
0

Featured Post

Windows running painfully slow? Try these tips..

Stay away from Speed Up Computer Programs that do more harm than good.
Try these tips instead.
Step by step instructions in trouble shooting Windows Performance issues.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote an article (http://www.experts-exchange.com/articles/2245/Anti-rootkit-software.html) some time ago with a reference to nLite  (http://www.nliteos.com/)slipstreaming software.  I recently changed that link to point to NTLite (https://www.ntl…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question