Hi.
Windows 2008 R2 Robocopy issues:
I’m trying to set up a robocopy script that will copy files from a server in Singapore to a server in the UK, however I’m having some trouble with it. The script is supposed to use the /MOVE command to move the files from the source to the destination. Then delete the source files
What I am finding is that Robocopy appears to start copying the files, then it deletes them from the source and the destination, which is totally fubar!
I’m assuming that some sort of file verification is going wrong as I see the tif file for a short time and it looks ok, then it changes to t#f file, then it gets deleted from the destination.
Here’s the script:
robocopy /MOVE /R:10 /W:5 /XA:SH /COPYALL /ZB “\efssv01a\zylabimport$\Quotes” “\efmsv008v\Import$\quotes” /LOG:“C:\logs\Sing2UKQuotes.log” /V /NDL /NP
Heres the log:
ROBOCOPY :: Robust File Copy for Windows
Started : Fri Jul 11 22:22:53 2014
Source : \efssv01a\zylabimport$\Quotes\
Dest : \efmsv008v\Import$\quotes\
Files : .
Options : . /V /NDL /COPYALL /MOVE /ZB /NP /XA:SH /R:10 /W:5
attrib 112128 \efssv01a\zylabimport$\Quotes\Thumbs.db
New File 5.8 m \efssv01a\zylabimport$\Quotes\email@company_20140711_150455.tif
New File 4.8 m \efssv01a\zylabimport$\Quotes\email@company_20140711_150519.tif
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 3 2 1 0 0 0
Bytes : 10.85 m 10.74 m 109.5 k 0 0 0
Times : 0:03:13 0:03:04 0:00:00 0:00:09
Speed : 61208 Bytes/sec.
Speed : 3.502 MegaBytes/min.
Ended : Fri Jul 11 22:26:08 2014