Server Administration
An administrator needs a built-in Windows command-line tool to mirror a directory tree to another server, deleting destination files that no longer exist in the source and automatically retrying files that fail to copy. Which tool should the administrator choose?
Show the answer
Correct answerC. Robocopy
AWhy not this: The FTP client transfers files to an FTP service and has no mirror mode or automatic retry of failed files.
BWhy not this: Xcopy copies directory trees but has no mirror/purge mode or automatic retry of failed files.
CWhy this is right: Robocopy /MIR mirrors a tree and purges extra destination files, and /R and /W retry failed files.
DWhy not this: SCP copies files securely over SSH but has no mirror mode that purges extra destination files.
Robocopy's /MIR switch mirrors a directory tree, deleting destination files no longer in the source, and its /R and /W options retry files that fail. Xcopy copies directory trees but has no mirror or purge mode and no automatic retry.