Problem with Robocopy Version (WS08R2-64bit)
Hi, Currently we planned a big data migration at our customer. Now we have some Issues with Robocopy, which I will describe in detail as follow: Initial situation: Source: Windows Server 2003 Share (mapped as local drive x:) Destination: Windows File Server 2008 R2 Problem description: If we copied data, we recognized that some directory time stamps changed after we accessed/browse the new created folder from & on the source server (explorer and CMD command CD). No data insight the folder was changed, but the directory timestamps changed automatically. I will describe what we have done. If we access the new destination folder with the windows explorer we saw how the timestamps changed instantly. - Copy Job: robocopy "X:\Program Files\DirTalk" D:\TEST\dirtalk /S /E /DCOPY:T /MIR /MT:30 /R:3 /W:10 /TS /V /log+:d:\log\local-copy.log - Result ( green – same date as source; yellow – changed data after access; blue – CMD command) D:\TEST\dirtalk>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk 12.04.2010 14:47 <DIR> . 12.04.2010 14:47 <DIR> .. 30.11.2009 16:38 <DIR> COM 30.11.2009 16:38 <DIR> Datenbank 21.01.2010 11:59 111 doubleOU.sql 13.04.2010 09:44 <DIR> LOGs 25.03.2010 15:28 <DIR> Programs 30.11.2009 16:38 <DIR> Scripts 12.04.2010 14:56 667 Short Description 30.11.2009 16:38 <DIR> Temp 2 File(s) 778 bytes 8 Dir(s) 145.034.166.272 bytes free D:\TEST\dirtalk>cd COM D:\TEST\dirtalk\COM>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk\COM 29.04.2010 12:43 <DIR> . 29.04.2010 12:43 <DIR> .. 14.05.1999 19:18 32.768 ADsError.dll 22.12.1998 09:50 32.768 ADsFactr.dll 08.07.1999 14:34 53.248 ADsSecurity.dll 05.03.1999 02:11 36.864 ADsVersion.dll 24.03.2003 23:18 835.635 iadstools.dll 08.10.2002 14:37 24.576 ICNTOOLS.dll 17.03.2004 19:12 167.936 IWindowsInfos.ocx 22.05.2000 01:00 1.066.176 mscomctl.ocx 25.04.2001 22:18 87.544 NWBrowse.ocx 25.04.2001 22:17 296.440 NWDir.ocx 20.12.2000 18:58 189.216 NWSelect.ocx 25.04.2001 22:28 214.520 Nwsess.ocx 25.04.2001 22:28 296.440 NWUsrGrp.ocx 21.08.2001 12:12 202.256 Nwvola.ocx 14 File(s) 3.536.387 bytes 2 Dir(s) 145.034.166.272 bytes free D:\TEST\dirtalk\COM>cd.. D:\TEST\dirtalk>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk 12.04.2010 14:47 <DIR> . 12.04.2010 14:47 <DIR> .. 29.04.2010 12:43 <DIR> COM 30.11.2009 16:38 <DIR> Datenbank 21.01.2010 11:59 111 doubleOU.sql 13.04.2010 09:44 <DIR> LOGs 25.03.2010 15:28 <DIR> Programs 30.11.2009 16:38 <DIR> Scripts 12.04.2010 14:56 667 Short Description 30.11.2009 16:38 <DIR> Temp 2 File(s) 778 bytes 8 Dir(s) 145.034.166.272 bytes free D:\TEST\dirtalk>cd Temp D:\TEST\dirtalk\Temp>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk\Temp 29.04.2010 12:43 <DIR> . 29.04.2010 12:43 <DIR> .. 04.05.2004 11:51 183.889 Lizensvereinbarun 1 File(s) 183.889 bytes 2 Dir(s) 145.034.166.272 bytes free D:\TEST\dirtalk\Temp>cd.. D:\TEST\dirtalk>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk 12.04.2010 14:47 <DIR> . 12.04.2010 14:47 <DIR> .. 29.04.2010 12:43 <DIR> COM 30.11.2009 16:38 <DIR> Datenbank 21.01.2010 11:59 111 doubleOU.sql 13.04.2010 09:44 <DIR> LOGs 25.03.2010 15:28 <DIR> Programs 30.11.2009 16:38 <DIR> Scripts 12.04.2010 14:56 667 Short Description 29.04.2010 12:43 <DIR> Temp 2 File(s) 778 bytes 8 Dir(s) 145.034.166.272 bytes free - Workaround! - First copy all data with Robocopy parameter /CREATE :: CREATE directory tree and zero-length files only. - Second copy without /create (delta copy) - All folder timestamps ok, even if we browse it D:\TEST>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST 29.04.2010 13:05 <DIR> . 29.04.2010 13:05 <DIR> .. 12.04.2010 14:47 <DIR> dirtalk 0 File(s) 0 bytes 3 Dir(s) 145.719.083.008 bytes free D:\TEST>cd dirtalk D:\TEST\dirtalk>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk 12.04.2010 14:47 <DIR> . 12.04.2010 14:47 <DIR> .. 30.11.2009 16:38 <DIR> COM 30.11.2009 16:38 <DIR> Datenbank 21.01.2010 11:59 0 doubleOU.sql 13.04.2010 09:44 <DIR> LOGs 25.03.2010 15:28 <DIR> Programs 30.11.2009 16:38 <DIR> Scripts 12.04.2010 14:56 0 Short Description 30.11.2009 16:38 <DIR> Temp 2 File(s) 0 bytes 8 Dir(s) 145.719.083.008 bytes free D:\TEST\dirtalk>cd COM D:\TEST\dirtalk\COM>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk\COM 30.11.2009 16:38 <DIR> . 30.11.2009 16:38 <DIR> .. 14.05.1999 19:18 0 ADsError.dll 22.12.1998 09:50 0 ADsFactr.dll 08.07.1999 14:34 0 ADsSecurity.dll 05.03.1999 02:11 0 ADsVersion.dll 24.03.2003 23:18 0 iadstools.dll 08.10.2002 14:37 0 ICNTOOLS.dll 17.03.2004 19:12 0 IWindowsInfos.ocx 22.05.2000 01:00 0 mscomctl.ocx 25.04.2001 22:18 0 NWBrowse.ocx 25.04.2001 22:17 0 NWDir.ocx 20.12.2000 18:58 0 NWSelect.ocx 25.04.2001 22:28 0 Nwsess.ocx 25.04.2001 22:28 0 NWUsrGrp.ocx 21.08.2001 12:12 0 Nwvola.ocx 14 File(s) 0 bytes 2 Dir(s) 145.719.083.008 bytes free D:\TEST\dirtalk\COM>cd .. D:\TEST\dirtalk>dir Volume in drive D is DATA Volume Serial Number is 8E70-4FD2 Directory of D:\TEST\dirtalk 12.04.2010 14:47 <DIR> . 12.04.2010 14:47 <DIR> .. 30.11.2009 16:38 <DIR> COM 30.11.2009 16:38 <DIR> Datenbank 21.01.2010 11:59 0 doubleOU.sql 13.04.2010 09:44 <DIR> LOGs 25.03.2010 15:28 <DIR> Programs 30.11.2009 16:38 <DIR> Scripts 12.04.2010 14:56 0 Short Description 30.11.2009 16:38 <DIR> Temp 2 File(s) 0 bytes 8 Dir(s) 145.719.083.008 bytes free - Question: - Why do the target folder time stamps automatically change, if it will be browsed? - I think the problematic Robocopy switch is /DCOPY:T - If we migrate data from Novell source , /DCOPY:T will not work - Another Issue: why we get no copy speed information if we use the Robocopy switch /MT:1 ( if we don’t use /MT:1 the default MT = 8 will be used and we see the speed information) -like Speed : 1566566 Bytes/sec. Speed : 89.639 MegaBytes/min. - substantial Problem ? If we will migrate data from Novell source, we use the Robocopy switch /W and /R. We copy large Qutlook.pst files (open) the job will hang without any error code inside the log file. A workaround is the Robocopy switch /B, but not useable for us because of the timestamp problem 02.01.1980 01:00 that will be set by Robocopy on all copied files Please let me know If You have any helpful information for us. Kind regards Rgds
June 2nd, 2010 12:56pm

- Workaround! - First copy all data with Robocopy parameter /CREATE :: CREATE directory tree and zero-length files only. - Second copy without /create (delta copy) - All folder timestamps ok, even if we browse itRgds
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2013 4:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics