I have faced this Robocopy error many times:
2010/03/20 11:48:37 ERROR 5 (0x00000005) Copying File C:\Foobar.pdf Access is denied. Waiting 30 seconds...
The reasons for this error are many and the fixes depends on the reasons:
- Check if the destination disk is full.
- Try the
/COPY:DT
option. By default, Robocopy copies using the option/COPY:DAT
. This copies the Data, Attributes and Timestamps./COPY:DT
ignores the Attributes.
Yep, It worked…
Strange enough, the first part of my files to copy was copying correctly, and the second part was giving me this error.
Using the /COPY:DT parameter did the job!
Thanks
LikeLike
Thanks a million, helped me out big time.
LikeLike
Great its work like a magic
LikeLike
If you changed it from “DAT to DT” wouldnt that make the command “ALWAYS COPY” the data regaurdless if it has been changed or not?
LikeLike
Chris: That is correct. I was doing a one-way copying with that command.
LikeLike
Thanks a lot!
Using /COPY:DT it worked.
Funny that it was working before without it….
Thanks again,
Decio
LikeLike
This drive me crazy..
and after I see ntfs datastreams on the non backed up files
the solution is:
download streams.exe
https://technet.microsoft.com/en-us/sysinternals/bb897440.aspx
and run recursevely on yuo directory (the backup source)
streams.exe -s -d C:\directorytobackup
LikeLike