Robocopy not copying files...

Don
Joined
5 Oct 2005
Posts
11,242
Location
Liverpool
Hey guys,

Trying to get Robocopy to copy my files and folders to another drive but it looks like its not waiting to play ball. It recreates the folder structure but doesnt copy any of the files. Here is what I'm using:

PHP:
robocopy D:\resources X:  /MIR /FFT /Z /XA:H /W:5

Any ideas what I'm doing wrong?

Thanks,

Stelly
 
Throw /r:4 or something on there man, if it is failing at a point your script as it is will be retrying 1million (yes) times... :)

Code:
robocopy D:\resources X:\ /MIR /FFT /Z /XA:H /W:5 /R:4 /log+:PATH-FOR-LOGFILE

Try that. But just going off top of my head I cannot recall what XA:H will do, what attribute is H for on files?

Also, I'd copy everything over without /MIR and then run your /MIR on a scheduled job rather than on your population of your data to X:\ initially.

Also, log always. Will only help with problems :)

Also depending on hardware, data moving etc etc, look at /MT options and up that to your environment and what you are doing if required.
 
Last edited:
try the \ after X:

You might have problems writing to the root of a drive. Could be a permissions issue.

None of the files/foldes are set as hidden are they?


+1 to adding /R:1
 
Back
Top Bottom