Windows 10 RoboCopy is reporting a failed copy in the summary but not in the details even with /V and /Log. How do I fix this?

  • Thread starter Thread starter isgdre
  • Start date Start date
I

isgdre

In Windows 10 robocopy is reporting a failed copy but the detail log looks fine so I can't fixed the problem.

Total Copied Skipped Mismatch FAILED Extras
Dirs : 1101 0 1101 0 0 0
Files : 5369 111 5257 0 1 110

When it fails it returns error code 11 ( FAIL XTRA COPY )

This started happening With the last update of windows 10 (20H2). It seems to be happening approx every other day. What can I do to find out what's failing?

Here is the command line I use to run it;

robocopy /V /JOB:$JobFile $DriveToBackup $BackupDestDir

Here is the job file. As you can see the /V and /Log+ option is on (the common solutions you can find on line).


::
:: Robocopy Job C:\DATA\NETWORK.LAN\ROBOCOPY.FLUX.N.TO.U.VIA.NETWORK.RCJ
::
:: Created by thx on Tuesday, February 9, 2021 at 11:18:39 AM
::

::
:: Source Directory :
::
/NOSD :: NO Source Directory is specified.
:: :: To Be Specified on the Command Line

::
:: Destination Directory :
::
/NODD :: NO Destination Directory is specified.
:: :: To Be Specified on the Command Line

::
:: Include These Files :
::
/IF :: Include Files matching these names
:: *.* :: Include all names (currently - Command Line may override)
/XJD :: eXclude symbolic links for Directories and Junction points.

::
:: Exclude These Directories :
::
/XD :: eXclude Directories matching these names
$RECYCLE.BIN
System Volume Information
Temporary Internet Files

::
:: Exclude These Files :
::
/XF :: eXclude Files matching these names
:: :: eXclude no names (currently - Command Line may override)
::
:: Copy options :
::
/S :: copy Subdirectories, but not empty ones.
/E :: copy subdirectories, including Empty ones.
/DCOPY:DA :: what to COPY for directories (default is /DCOPY:DA).
/COPY:DAT :: what to COPY for files (default is /COPY:DAT).
/PURGE :: delete dest files/dirs that no longer exist in source.
/MIR :: MIRror a directory tree (equivalent to /E plus /PURGE).
/A+:AN :: add the given Attributes to copied files.
/A-:SH :: remove the given Attributes from copied files.
::
:: Retry Options :
::
/R:2 :: number of Retries on failed copies: default 1 million.
/W:1 :: Wait time between retries: default is 30 seconds.
::
:: Logging Options :
::
/V :: produce Verbose output, showing skipped files.
/ETA :: show Estimated Time of Arrival of copied files.
/LOG+:C:\Data\Network.lan\RoboCopy.FLUX.N.Log :: output status to LOG file (append to existing log).
/TEE :: output to console window, as well as the log file.

------------------------------------------------------------------------------

Continue reading...
 
Back
Top