Solved

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

Posted on 2011-09-11
3
311 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

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.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 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