Link to home
Start Free TrialLog in
Avatar of zephyr_hex (Megan)
zephyr_hex (Megan)Flag for United States of America

asked on

Error "Changing File Attributes" with Robocopy

i use robocopy to perform data backups at night.  for the most part, the backups are successful.  however, there are a few instances of the following error in the log file:
          Older                    31891      filename.pdf
2008/04/19 17:03:12 ERROR 5 (0x00000005) Changing File Attributes \\server\path
Access is denied.

here is my robocopy command (run via windows scheduler from a batch file, under Admin privs):
robocopy \\sourceserver\folder \\destination\backup\ /MIR /r:1 /w:1 > \\server\log.txt

ideas on why i'm seeing this error?
Avatar of leecett
leecett
Flag of United Kingdom of Great Britain and Northern Ireland image

Zephyr hex
Is it because the source file is older than the destination file?
Leecett
Avatar of zephyr_hex (Megan)

ASKER

i don't think so... it also lists out instances where the source is older or newer than the destination:

          Newer                    80988      Thur Mar 13, 2008.pdf 0%  75%  100%  
          Older                    77989      Thursday, March 20, 2008.pdf 0%  78%  100%  

versus an error:

2008/04/24 02:17:02 ERROR 5 (0x00000005) Changing File Attributes \\servername\path\Thursday, March 27, 2008.pdf
Access is denied.


the problem seems to progressively be getting better...  when i first posted about the error, my log was filled with examples of the error.  since then, the number of instances has decreased...
but i have no idea why!
ASKER CERTIFIED SOLUTION
Avatar of zephyr_hex (Megan)
zephyr_hex (Megan)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial