Discussion Locked

Robocopy Errors

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am using Robocopy v1.96 (W2K Res kit) to backup (Push) files from multiple NT4 and W2K Pro and server, computers to a SNAP server in a central site.

In most sites this works without a problem however I have a few sites where I get the error(s) "The system cannot find the path specified" and/or "There are no more files"

The path is definitely correct. When I use xcopy to move the same files (and cancel part way through) it works OK, Strangely when I run the robocopy script again, It works and will update the files that have been xcoppied, however gives the same error when it reaches new files (the ones not xcoppied).

It seems that robocopy can't create the files at the destination. It can't be permissions as xcopy can create the files no problem.

The following is a line from the log file...
ERROR 18 (0x00000012) Scanning Destination Directory \\XXXXXXSNAP01\backups\XXXXXXX\DATA\
There are no more files.

Suggestions Please

4 replies

by mark

I'm not familiar with Robocopy, but your description makes me think it has something to do with the Archive attribute bit. When files get backed up, it is used to tell if it has been backed up. You can use the command ATTRIB *.* to see the setting on all files and ATTRIB -A *.* to reset it. Use ATTRIB +A *.* to set it. Experiment and see if that is causing it. Then consult the Robocopy documentation to determine how to change the behavior of Robocopy.

by hard_yakka

Sorry, not the archive attribute. There are switches to only copy files if the archive attribute is not set. But I haven't used them. Robocopy will determine which file is older and only copy newer files. As the destination hasn't been updated for some time the files there must be older.

This discussion is closed to new replies.