Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Robocopy command - copy changes

Posted on 2013-10-25
7
Medium Priority
?
771 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
  • 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 1336 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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
LVL 5

Assisted Solution

by:DamjanDemsar
DamjanDemsar earned 664 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 1336 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

916 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