Solved

Robocopy Skipped Files on Server 2008R2

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
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…

758 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

20 Experts available now in Live!

Get 1:1 Help Now