Solved

syntax for how to use Robocopy to backup changed files with /m?

Posted on 2011-09-11
3
291 Views
Last Modified: 2012-05-12
I want to copy 400GB from server A to server B.  I also need the syntax to copy changed files only? Do I run the same robocopy command twice (once to make the initial copy and again to copy changed files)?
0
Comment
Question by:victor2008
  • 2
3 Comments
 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36519776
do your initial robocopy.
Then use robocopy /xo to exclude older
0
 

Author Comment

by:victor2008
ID: 36520011
Thanks 5G.  Can you give me an example?  Or, let me know if the below is accurate?

Would I do something like:

robocopy "source" "destination" /S /E /V /COPY:DATSO/LOG+:C:\temp\robocopy.txt /R:1 /W:2 /NFL /NDL

Then (when I'm ready to do the final copy):

robocopy "source" "destination" /S /E /V /XO /COPY:DATSO/LOG+:C:\temp\robocopy.txt /R:1 /W:2 /NFL /NDL
0
 
LVL 13

Accepted Solution

by:
5g6tdcv4 earned 500 total points
ID: 36520106
robocopy "source" "destination"  /E /V /COPY:DATSO /LOG+:C:\temp\robocopy.txt /R:1 /W:2 /NFL /NDL
for initial copy

robocopy "source" "destination"  /E /V /XO /COPY:DATSO /LOG+:C:\temp\robocopy.txt /R:1 /W:2 /NFL /NDL


you could also just run:
robocopy "source" "destination"  /E /V /XO /COPY:DATSO /LOG+:C:\temp\robocopy.txt /R:1 /W:2 /NFL /NDL


it should copy files that do not exist in destination dir...stay away from /MIR
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now