We help IT Professionals succeed at work.

Robocopy NTFS Permissions

Medium Priority
1,071 Views
Last Modified: 2012-05-12
Hi guys,

I need to copy a 250GB folder with NTFS permisions from one drive to another NTFS drive and then do just a sync to copy the differences. I want to do this while users might access some files from that folder.

I run
C:\>robocopy "F:\Marketing Archive" "D:\Marketing Archive" /E /COPYALL /r:0 /w:0
 /log+:"D:\transfer.txt"


But it copied everything ... but no NTFS permisions.... why ? Maybe because I created on D the folder manually ?

Also what`s the command to copy only the differences after  I  copy all of those files ?

Thanks a lot
Comment
Watch Question

Check out the /MIR switch.  It may meet both requirements.  But, be careful: It will replicate deletions.
Commented:
i give up on robocopy and use xcopy which I had better success with


xcopy "C:\Source Folder" "\\Destination Server\Share\Folder" /X /H /E /V

Copy files or folders that have changed since the initial copy
xcopy "C:\Source Folder" "\\Destination Server\Share\Folder" /X /H /E /V /D /Y

Switch Explaination
/X - Copies file audit settings and file ownership and ACL information.
/H - Copies hidden and system files.
/E - Copies directories and subdirectories, including empty ones.
/V - Verifies each new file.

/D - Copies files changed on or after the specified date (D:m-d-y).If no date is given, copies only those files whose source time is newer than the destination time.
/Y - Suppresses prompting to confirm you want to overwrite an existing destination file.
Show your support and donate a beer or two via Paypal.

Author

Commented:
I use xcopu
For robocopy:

/MIR to mirror a dir structure
/SEC to copy permissions

Explore More ContentExplore courses, solutions, and other research materials related to this topic.