A systems administrator needs to migrate a large departmental folder structure from a local workstation drive (`C:\Data`) to a network backup destination (`D:\Backup`). The migration must clone all subdirectories—including empty ones—and retain all original file attributes, owner details, and NTFS Access Control Lists (ACLs). Which of the following command-line utilities and switch combinations will accomplish this task efficiently?
- robocopy C:\Data D:\Backup /e /copyallCevap
- Bxcopy C:\Data D:\Backup /s /h
- Crsync -avz /cygdrive/c/Data /cygdrive/d/Backup
- DLaunch Computer Management MMC, open Shared Folders, and export the file list.
Cevap
robocopy C:\Data D:\Backup /e /copyall
The command specifying `robocopy C:\Data D:\Backup /e /copyall` is correct because `robocopy` is built into Windows for high-performance file replication. The `/e` flag ensures all subdirectories, including empty ones, are copied, while `/copyall` duplicates all file data, attributes, timestamps, NTFS security ACLs, owner information, and auditing flags.
Adım Adım Çözüm
Anahtar Kavram
Windows Robocopy Utility and Advanced Copy Flags