• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1291
  • Last Modified:

Robocopy failing to copy ACLs on top level folder ...

On a Windows Server 2008 Standard R2 server (x64 obviously since it is R2) - Trying to use Robocopy to copy all files, folders and ACLs from C:\folder1 to C:\folder2 and using the /copyall switch. Everything seems to copy fine will all files, folder, etc... Except for the top level folder permissions on C:\folder2 which appear to inherit the permissions from the root of C: or something.  I requested the Microsoft Hotfix 979808, but when I try to install that x64 based Hotfix it says something like 'This hotfix does not apply to your system.'   Just for kicks I tried the x86 version of the hotfix and it gave the same error.

Any help on how I could either get Robocopy to work or how I could make an indentical backup of a folder to includes all files, subfolders, and ACLs and share permissions would be greatly appreciated.

TIA ...
0
LGroup1
Asked:
LGroup1
1 Solution
 
greedjCommented:
Use the /MIR (Mirror) switch in robocopy if you can.
Note: /MIR will delete files on the destination that do not exist on the source.
0
 
LGroup1Author Commented:
Yes, this worked - thanks !!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now