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
Gmail to Outlook Express
\\servername is not accessible. You might not have permission...The remote procedure call failed. VPN issue.
Failing dhcp exclusion with IP conflict
Suggestion for final year project's topic
Unable to send and receive 20MB in Exchange 2003
Terminal Service interface TSWEB Problem
Trouble accessing internet.
Mail server / Firewall
how to install SSL's in kerio mail server
How to use OpenVPN to setup a proxy between two countries