Home > Enterprise >  Robocopy problems
Robocopy problems

Time:04-25

I am trying to move a folder from a local disk (D Drive) and move it to our new TrueNAS. Robocopy has worked on some of the directories, but there are two that for some reason I keep getting a "system cannot find the file specified" error for the source directory.

I have googled and read through several articles and none of them have helped. There is one suggestion to install an older version of robocopy but I can not seem to find out how to do that. Anyone have an idea on how to install a different/older verison of robocopy.

I am running it on a 2012 R2 server. The robocopy command I am running is this.

robocopy "D:\files\Artwork" "\ip-address\Omaha-Files\Artwork" /e /b /maxlad:1825 /J /R:1 /W:3 /MT /FP /FFT /LOG :c:\temp\robocopy.log /NP

I have admin permissions, I am running the command from an administrative powershell console, I have also tried an admin command prompt. Same error.

I have also tried running from a standard user but it gives me a different error that says I don't have backup permissions.

Any help here would be great.

Thank you!

CodePudding user response:

Is there a file appearing & disappearing?

  • Use "/Z" instead of "/B" and add more retries and maybe longer wait to make it wait for the missing file to reappear.
  • Try adding "/L" to do a "no-op" and see what would be copied.
  • Maybe add "/XJ" to exclude junction points.

CodePudding user response:

I added the /nodcopy parameter and this has fixed my issue.

  • Related