Solved

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

Posted on 2011-09-11
3
313 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
[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
  • 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

738 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