Tuesday, January 22, 2013

Robocopy Command

Hi People

When it comes to copy data from source to destination, we have several commands and utilities.
Like xcopy, robocopy, copy and etc.

One of these command is robocopy,
Command Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2
And it works like any thing, if the data size is less than 100 GB, I would suggest this command


Command options are

/Z : Copy files in restartable mode (survive network glitch).
/R:n : Number of Retries on failed copies - default is 1 million.
/W:n : Wait time between retries - default is 30 seconds.
/COPYALL : Copy ALL file info (equivalent to /COPY:DATSOU).
/E : Copy Subfolders, including Empty Subfolders.
/LOG:file : Output status to LOG file (overwrite existing log).
/FP : Include Full Pathname of files in the output.
/TEE : Output to console window, as well as the log file.
/V : Produce Verbose output log, showing skipped files.
/ETA : Show Estimated Time of Arrival of copied files

Simple command syntax would be with example would be  :-



ROBOCOPY E:\ G:\ /ETA /E /Z /V /R:0 /W:0





7 comments:

  1. Hi, thanks for information.
    But, what about if data size is bigger than 100gb. Example 1TB.. What do you suggest?

    Thanks so much.

    ReplyDelete
    Replies
    1. I'll suggest any thing more than 1 TB should go to SAN team, as they have their tools, which can copy the data of such size
      End of the day data has to be copied in much effective way

      Delete
  2. I'll suggest any thing more than 1 TB should go to SAN team, as they have their tools, which can copy the data of such size
    End of the day data has to be copied in much effective way

    ReplyDelete