Robocopy from windows 2003 server to windows 2008 server, more files in destination than source.


hello,

i having problem where, when copy files server 2003 server 2008 r2 amount of files on destination server seem more amount of files on source server. example server1(2003 server) has 100,000 files server2(2008r2) has 120,000. both have same amount of folders, destination has more files.

the command using being run 2008 r2 server copying data 2003 2008r2, 2008 r2 directory empty when started. 

robocopy <source> <destination> /e /z /dcopy:t /copyall /tee /mt:64 /log:d:<logdirectory\log.txt> /mir /w:2 /r:2 /purge


know why destination have more files source? point may open call microsoft, , thought might check technet first.

thank you,

hi,

 

by default robocopy copy file if source , destination have different time stamps or different file sizes.

 

incomplete copies
if terminate robocopy during copy operation (e.g if command prompt window closed), incompletely copied destination file left later time stamp it's corresponding source file.
behaviour different both copy , xcopy either copy whole file or won't create destination file @ all.

if restart same robocopy operation using /xo switch, robocopy treat file older file , skip - leaving half-copied file in place.

rare occasions /xo needed - workaround rename destination folder, run robocopy , rename folder again. way if script interrupted part way through, folder left 'wrong' name easy detect , clean up.



Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS