Microsoft
Software
Hardware
Network
Question : ROBOCOPY
I am trying to user Robocopy to copy directory structure from
One Server to another Server. I don't want robocopy to copy
NTFS Permission to dest server.
Here is the script
@ECHO OFF
SETLOCAL
SET _source=\\FileServ1\e$\use
rs
SET _dest=\\FileServ2\e$\Backu
pUsers
SET _what=/COPYALL /B /SEC /MIR
:: /COPYALL :: COPY ALL file info
:: /B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree
SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /W:n :: Wait time between retries
:: /LOG :: Output log file
:: /NFL :: No file logging
:: /NDL :: No dir logging
ROBOCOPY %_source% %_dest% %_what% %_options%
How do I stop to overight permission on Destionation
Answer : ROBOCOPY
Don't use /copyall and/or /sec. Default to copy is simply DAT: Data, Attributes, Timestamps.
/sec, btw, is completely unnecessary with /copyall, /copyall includes /sec.
SET _what=/B /MIR
Random Solutions
How to run tomcat as a service
How GRX works?
Cisco Unity Connection voice mail playing main greeting
The DNS server received a bad TCP-based DNS message from 192.168.128.5. The packet was rejected or ignored. The event data contains the DNS packet.
WAN and VOICE on the same E1 Circuit
Outgoing Emails to Certain Domains Rejected
novell netware server download
Huawei EchoLife HG520s pass-through VPN?
Auditing Object Copy or Move
How to send email to 4000 email address?