Martstone Posted July 23, 2020 Posted July 23, 2020 Hi New server going in, really big folder structure with various permissions, how would you copy ALL data from one to the other? Obvioulsy need to keep all permissions intact. I read Robocopy can do it but I see so many differing switches to capture permissions Any tools that you could recommend? Ta
bald_pig Posted July 23, 2020 Posted July 23, 2020 (edited) robocopy should just need the /COPYALL flag to copy permissions? Edited July 23, 2020 by bald_pig typo in flag
Ausy Posted July 23, 2020 Posted July 23, 2020 This has worked for me on a recent move but do test it. Someone here may be able to tweak it. robocopy \\Old-Server\Share \\New-Server\Share /COPYALL /E /LOG:C:\copylog1.txt /XD “RECYCLER” “Recycled” “System Volume Information” /XF “desktop.ini” /NP /TEE You can use server IP addresses instead of server names.
caffrey Posted July 23, 2020 Posted July 23, 2020 I always add a few retries and waits to that eg. /R:10 /W:30
ricki Posted July 23, 2020 Posted July 23, 2020 Robocopy is good but you can also use DFS to replicate the folder or restore from backup
3s-gtech Posted July 23, 2020 Posted July 23, 2020 Yeah the /COPYALL switch in Robcopy and DFS-R can both do it (though I often use Robocopy to pre-seed DFS-R as it kicks things in much quicker).
ITGURU Posted July 23, 2020 Posted July 23, 2020 i always use this when doing transfers, keeps all permissions and date/time stamps between the folders, robocopy \\source \\destination /FFT /MIR /SEC/ DCOPY:T
Martstone Posted July 23, 2020 Author Posted July 23, 2020 Are you sure robocopy \\source \\destination /COPYALL will actually copy everything including security permissions??
3s-gtech Posted July 23, 2020 Posted July 23, 2020 The /COPYALL flag is the same as /COPY:DATSOU - which is Data, Attributes, Timestamps, Security (NTFS ACLs), Owner info, Auditing info. Pretty comprehensive.
Martstone Posted July 23, 2020 Author Posted July 23, 2020 Hmmm.. Cant get it to copy all sub folders with COPYALL
bald_pig Posted July 23, 2020 Posted July 23, 2020 From SS64.com: [color=#000000][font="]/COPYALL : Copy ALL file info (equivalent to /COPY:DATSOU). [/font][/color]
bald_pig Posted July 23, 2020 Posted July 23, 2020 Hmmm.. Cant get it to copy all sub folders with COPYALL Copyall is for the permissions. you'd still need /E to copy subfolders.
k-strider Posted July 24, 2020 Posted July 24, 2020 DFS does this which is how we move files from old to new... NTFS Encrypted files dont copy though. using the DFS namespace also means people dont notice when you move the files around from server to server.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now