Windows 10: Robocopy - Fails to Copy All Files, Doesn't Log Failures

Discus and support Robocopy - Fails to Copy All Files, Doesn't Log Failures in Windows 10 Network and Sharing to solve the problem; I'm frequently copying large folder structures using Robocopy and I'm finding more and more cases of files NOT being copied and the log doesn't mention... Discussion in 'Windows 10 Network and Sharing' started by JKriv2, Jun 14, 2022.

  1. JKriv2 Win User

    Robocopy - Fails to Copy All Files, Doesn't Log Failures


    I'm frequently copying large folder structures using Robocopy and I'm finding more and more cases of files NOT being copied and the log doesn't mention anything. Is there any known bugs or reasons for such behavior that could explain why this is happening and how to keep it from happening?

    :)
     
    JKriv2, Jun 14, 2022
    #1
  2. Try3 Win User

    Robocopy vs Copy-paste

    I hesitate to get too involved in this because I continue to believe, as I said before, that the most effective method is to use RoboCopy error codes [Exit codes] to identify the existence of a prior failure and to use that result to trigger a repetition of the previous RoboCopy command.
    - Repeated failures might require human intervention in identifying causes
    - In my own scripts, I allow half a dozen repetitions with progressively lower /MT:nnn values [down to the limit /MT:1] before I identify the process as being incapable of completion without deliberate investigation.

    But, if listings are to be used, then including /XA:SH will suppress directory listings caused by changed SH files [such as thumbs.db files]. This command
    Code:
    generates this response-------------------------------------------------------------------------------
    ROBOCOPY :: Robust File Copy for Windows
    -------------------------------------------------------------------------------Started : 11 February 2022 19:27:12
    Source : E:\Whatever\
    Dest = F:\Whatever\
    Files : *.*
    Options : *.* /NDL /S /E /DCOPYRobocopy - Fails to Copy All Files, Doesn't Log Failures :DA /COPYRobocopy - Fails to Copy All Files, Doesn't Log Failures :DAT /PURGE /MIR /XA:SH /R:1000000 /W:30
    ------------------------------------------------------------------------------
    *EXTRA File 0 F:\Whatever\DummyB.txt
    ------------------------------------------------------------------------------
    Total Copied Skipped Mismatch FAILED Extras
    Dirs : 481 0 481 0 0 0
    Files : 4403 0 4403 0 0 1
    Bytes : 5.450 g 0 5.450 g 0 0 0
    Times : 0:00:00 0:00:00 0:00:00 0:00:00
    Ended : 11 February 2022 19:27:12


    Denis
     
  3. BetoLP Win User
    Windows doesn`t start. Authomatic repair doesn`t work.

    Thanks again!!

    I`m sorry I had not noticed that the text on the picture was in spanish. It says that windows has replaced some damaged clusters in "name" file and "directory". Then, at the end "an unspecified error occurred (75736e6a726e6c2e 4f6)".

    I`ll do it and I`ll be updating this thread when I have the report.

    - - - Updated - - -

    I ran SeaTools. These are the results:

    Robocopy - Fails to Copy All Files, Doesn't Log Failures [​IMG]


    Does it mean my HDD is useless?
     
    BetoLP, Jun 14, 2022
    #3
  4. Robocopy - Fails to Copy All Files, Doesn't Log Failures

    Robocopy vs Copy-paste

    Actually, that command won't list files that are not being copied BUT it lists all the directories that it traverses. To suppress that. simply tack on a /NDL (No Directory Listing).

    In the sample output below, note that the folder I am mirroring has 820 directories and 2708 files. The folders are already synced so not a single file or directory is displayed in the output.

    Code:
     
    hsehestedt, Jun 14, 2022
    #4
Thema:

Robocopy - Fails to Copy All Files, Doesn't Log Failures

Loading...
  1. Robocopy - Fails to Copy All Files, Doesn't Log Failures - Similar Threads - Robocopy Fails Copy

  2. Robocopy Skips Copying File

    in Windows 10 Gaming
    Robocopy Skips Copying File: I have a Dell computer running Windows 10. I use Task Scheduler to copy two files to two target destinations using Robocopy. Three of the files get copied but Robocopy skips one of them. If I run the command in a command window it returns a value of 0 meaning that there...
  3. Robocopy Skips Copying File

    in Windows 10 Software and Apps
    Robocopy Skips Copying File: I have a Dell computer running Windows 10. I use Task Scheduler to copy two files to two target destinations using Robocopy. Three of the files get copied but Robocopy skips one of them. If I run the command in a command window it returns a value of 0 meaning that there...
  4. Robocopy element fail's in Robocopy but works fine in Copy command.

    in Windows 10 Software and Apps
    Robocopy element fail's in Robocopy but works fine in Copy command.: Command Prompt Copy Command Prompt works fine: Copy "C:\Users\Dennis\Documents\Tax Data\*.T*" "F:\Tax Data"Following command works fine except the Bolded element: ~*.T*Robocopy "C:\Users\Name\Documents\Tax Data" "F:\Tax Data" *.* /XF ~*.xls* ~*.docx ~*.pdf ~*.txt ~*.T* /E /XO...
  5. ROBOCOPY fails copying files from source root

    in Windows 10 Network and Sharing
    ROBOCOPY fails copying files from source root: When copying files from source root, it seems that ROBOCOPY see the files as directories and the resoult is, that the filename become a directoiry name on targetHow can I prevent thatMy code:$FileName = Get-Date.tostring"MM-dd-yyyy---HH-mm-ss"$oldpaths = Get-ChildItem...
  6. ROBOCOPY fails copying files from source root

    in Windows 10 Gaming
    ROBOCOPY fails copying files from source root: When copying files from source root, it seems that ROBOCOPY see the files as directories and the resoult is, that the filename become a directoiry name on targetHow can I prevent thatMy code:$FileName = Get-Date.tostring"MM-dd-yyyy---HH-mm-ss"$oldpaths = Get-ChildItem...
  7. ROBOCOPY fails copying files from source root

    in Windows 10 Software and Apps
    ROBOCOPY fails copying files from source root: When copying files from source root, it seems that ROBOCOPY see the files as directories and the resoult is, that the filename become a directoiry name on targetHow can I prevent thatMy code:$FileName = Get-Date.tostring"MM-dd-yyyy---HH-mm-ss"$oldpaths = Get-ChildItem...
  8. Robocopy - Fails to Copy All Files, Doesn't Log Failures

    in Windows 10 Software and Apps
    Robocopy - Fails to Copy All Files, Doesn't Log Failures: I'm frequently copying large folder structures using Robocopy and I'm finding more and more cases of files NOT being copied and the log doesn't mention anything. Is there any known bugs or reasons for such behavior that could explain why this is happening and how to keep it...
  9. Robocopy - Fails to Copy All Files, Doesn't Log Failures

    in Windows 10 Gaming
    Robocopy - Fails to Copy All Files, Doesn't Log Failures: I'm frequently copying large folder structures using Robocopy and I'm finding more and more cases of files NOT being copied and the log doesn't mention anything. Is there any known bugs or reasons for such behavior that could explain why this is happening and how to keep it...
  10. Robocopy not copying newer file

    in Windows 10 Network and Sharing
    Robocopy not copying newer file: I have a file in a OneDrive folder named bernie3_journal.txt. It has today's date which is 10/7. I'm trying to use robocopy to copy the file to my son's OneDrive folder as shown below. The bernie3_journal.txt file in my son's OneDrive folder has a date stamp of 8/5. I've...