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
Veritas error Media Mount Failed - User canceled a physical Volume Library Operation
LDAP Queries - Find mailbox enabled users that are not disabled and dosnt start with Q or X.
Sage ACT 8.0 - problems accessing the database .pad file from another PC
Windows 2k Server DHCP service becomes disabled randomly
Best way to connect servers to 3Com switch stack
Need a Basic COnfig for a Cisco ASA 5510
Newly configured DHCP (with reserviations) server for 2 subnets, 1 subnet not working with DHCP
Network Auditing
Install LDAP openfire (UserNotFoundException)
can not manage computers in management tool