nav2567
asked on
Robocopy parameters.
Hello,
I need to use ROBOCOPY to copy all folders from \\SOURCESERVER\d$ (Please screen shot) to a shared drive of a new server \\NEWSERVER\CENTRAL
Can I use something like the below?
ROBOCOPY "\\SOURCESERVER\d$\BE Disaster Recovery Server Files" "\\NEWSERVER\CENTRAL" //MIR /SEC /W:0 /R:0 /IS /LOG:c:\copy.log
ROBOCOPY "\\SOURCESERVER\d$\GPOShar e" "\\NEWSERVER\CENTRAL" //MIR /SEC /W:0 /R:0 /IS /LOG:c:\copy.log
...etc...
I want all folders to be shown in \\NEWSERVER\CENTRAL with all original security permission settings. Please check if the parmeter I use are correct.
Thanks.
fileshares.png
I need to use ROBOCOPY to copy all folders from \\SOURCESERVER\d$ (Please screen shot) to a shared drive of a new server \\NEWSERVER\CENTRAL
Can I use something like the below?
ROBOCOPY "\\SOURCESERVER\d$\BE Disaster Recovery Server Files" "\\NEWSERVER\CENTRAL" //MIR /SEC /W:0 /R:0 /IS /LOG:c:\copy.log
ROBOCOPY "\\SOURCESERVER\d$\GPOShar
...etc...
I want all folders to be shown in \\NEWSERVER\CENTRAL with all original security permission settings. Please check if the parmeter I use are correct.
Thanks.
fileshares.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you want to use /MIR - for example to allow for several "incremental" or test runs over time - you need to use different targer folders.
So Hallo There's second command may only be used if you have a single source.
On the other hand, /MIR is required only if you need to have an exact copy you can run multiple times, replicating deletes, changes etc.
If you do not care whether deletes are replicated on second go, you do not need /MIR.