A network administrator is writing an automated script to perform a full synchronization backup of a shared data directory to a secondary backup server in a Windows domain environment. The backup operation must replicate the full directory hierarchy, remove files in the destination that have been deleted from the source, and copy all file data, attributes, timestamps, NTFS security access control lists (ACLs), owner information, and auditing flags. Which of the following flags must be included in the Robocopy command string to meet these requirements? (Select TWO.)
- /MIRCevap
- /COPYALLCevap
- C--archive --delete
- D/SFC
Cevap
The parameters that must be included in the Robocopy command string are `/MIR` and `/COPYALL`.
The correct parameters are `/MIR` and `/COPYALL`. The `/MIR` switch mirrors a directory tree by copying all subdirectories (including empty ones) while purging destination files or folders that no longer exist in the source. The `/COPYALL` switch explicitly copies all file information, including Data, Attributes, Timestamps, NTFS Security (ACLs), Owner information, and Auditing flags (equivalent to `/COPY:DATSOU`).
Adım Adım Çözüm
Anahtar Kavram
Microsoft Command-Line Tools: Robocopy Switches
Tahmini Süre:2m 0s