Menu

Search

GlobalSCAPE Knowledge Base


Using Robocopy with WAFS


GlobalSCAPE 5
WAFS and CDP

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • WAFS/CDP

DISCUSSION

Microsoft Robocopy, included with the Microsoft Windows Server® 2003 Resource Kit, is a utility for copying data. Robocopy does not have some of the common limitations of Windows Explorer or a Command prompt.

WAFS customers often use the following Robocopy switches:

  • /E = copy subdirectories, including Empty ones
  • /V = produce Verbose output, showing skipped files
  • /B = copy files in Backup mode
  • /R:n = number of Retries on failed copies; default 1 million
  • /W:n = Wait time between retries; default is 30 seconds
  • /NP = No Progress - don't display % copied
  • /LOG:file = output status to LOG file (overwrite existing log). e.g., /LOG:wafs.txt writes to wafs.txt
  • /TEE = output to console window, as well as the log file
  • /FP = include Full Pathname of files in the output
  • /DCOPY:T :: COPY Directory Timestamps. [Only for use with Windows 2008 R2 and Windows 7]
  • /XO :: exclude older files
  • /MT:n = copy using multithreading; n is the number of threads up to 125 [Only for use with Windows 2008 R2 and Windows 7]

Microsoft's Technet has a Robocopy description here: http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx.

Wikipedia provides instructions on how to use Robocopy at http://en.wikipedia.org/wiki/Robocopy.

A list of switches is available at http://technet.microsoft.com/en-us/library/cc733145(WS.10).aspx.


Also In This Category


On a scale of 1-5, please rate the helpfulness of this article


Not Helpful
Very Helpful
Optionally provide private feedback to help us improve this article...

Thank you for your feedback!


Comments require login or registration.

Details
Last Modified: 7 Years Ago
Last Modified By: GlobalSCAPE 5
Type: HOWTO
Article not rated yet.
Article has been viewed 15K times.
Options
Find Similar