Skip to main content
NetApp Knowledge Base

Robocopy may not skip files when archive bit is set

Views:
206
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • CIFS
  • Robocopy

Issue

  • Robocopy is not skipping files when migrating data.
  • Normally Robocopy copies just those files that have changed since last run.
  • This makes migrations very slow.

Example
-------------------------------------------------------------------------------
ROBOCOPY     :: Robust File Copy for Windows 
-------------------------------------------------------------------------------

Started :     xxxxxx
Source :     \\svm1\data\
Dest :       \\svm1\data2\

Files :     *.*
        
Exc Dirs :     xxxxxx
               xxxxxx
        
Options :     *.* /V /FP /NS /S /E /DCOPY:T /COPY:DATS /PURGE /MIR /NP /MT:8 /R:0 /W:0 

------------------------------------------------------------------------------
......
......
------------------------------------------------------------------------------

               Total         Copied       Skipped      Mismatch     FAILED       Extras
    Dirs :     381534        381532        379879      0            62           167
   Files :     2911194       2911186       0           0            8            2178
   Bytes :     2.298 t       2.297 t       0           0            606.19 m     1.484 g
   Times :     14:59:09      1:44:30       0:00:00     0:16:15


   Speed :           402893510 Bytes/sec.
   Speed :           23053.751 MegaBytes/min.
   Ended : xxxxxx

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.