Solved

Robocopy Skipped Files on Server 2008R2

Posted on 2013-11-27
2
7,878 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 83

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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 configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

803 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