Solved

Robocopy Skipped Files on Server 2008R2

Posted on 2013-11-27
2
7,966 Views
Last Modified: 2013-12-17
I ran a robocopy because I want to copy all files within a particular directory onto the same directory on another drive. I ran robocopy with the options: *.* /S /E /COPYALL /PURGE /MIR /ZB /R:1 /W:1

my log shows that there were 101007 files 17GB skipped, but I don't see which ones those are or for what reason they were skipped.

How can find out which files are skipped, determine what caused them to skip, and how I can re-run the robocopy to copy over the remaining files that have not yet been copied instead of all the files.

I need to maintain the permissions and timestamps as well.

Thank you.
0
Comment
Question by:fireguy1125
2 Comments
 
LVL 20

Expert Comment

by:Lazarus
ID: 39681792
Run it with the logfile option:  /log:f:\robo.log /tee
This will give you a log off all files
0
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 39681867
"Skipped" are simply files and folders that were already in the target folder when you copied.
Any file copy that really failed will be logged as Error, not as "Skipped".
In other words: if there were no errors in the summary, the copy was OK.
You might want to check robocopy's errorlevel as well when/if you run it the next time (echo %errorlevel%) in the batch script or as first command after robocopy in a command line. Anything less than 4 means there were no errors.
You can just run the same command another time; robocopy will by default skip files that are already in the same version in the target (same time stamp, same size), so you odn't need any special options for that.
Logging to a file is not a bad idea, either, but if you do that, add /NP (no progress) to your options, otherwise the control characters of the progress bar will mess up the log file.
You can add /nfl (no file list) and /ndl (no directory list) as well; this will only prevent the logging of successfully copied files (making for a more concise log), errors will still be logged.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

840 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