Unsolved
This post is more than 5 years old
27 Posts
0
10622
Migrating file shares from server to CIFS
I can't figure this out for the life of me.
We have a VNX5300 that has CIFS shares set up. I am trying to figure out how to migrate the corresponding shares from a Server 2003 VM to the CIFS while maintaining the permissions. Robocopy will copy but will not carry the permissions. Permcopy says it's successful but it's not. DFS isn't an option as it needs to be running on the root server as well as the target. Will the EMC File System Migration Tool do this?
Any help is greatly appreciated.
etaljic81
1K Posts
0
April 17th, 2012 07:00
Use sharedup. It will copy the shares and permissions. You can find the sharedup exe on the NAS CD (I also uploaded it to ftp://ftp.emc.com/incoming/sharedup/exe in case you don't have the NAS CD). I use the following sharedup command to copy the shares and permissions:
sharedup.exe \\source-cifs \\target-cifs drive_letter /P \filesystem_path /R /SD /LOG+:log.txt
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
April 17th, 2012 07:00
have you tried emcopy ?
revcall1
27 Posts
0
April 17th, 2012 07:00
No I have not. I'm new to this and haven't heard of emcopy.
revcall1
27 Posts
0
April 17th, 2012 08:00
Do I install sharedup on the source server or on a workstation? The server is 2003 SP2 and the workstation is Windows 7.
Thanks!
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
April 17th, 2012 08:00
try emcopy, actually robocopy is pretty fast on WIndows 2008 ..what parameters did you specify ?
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
April 17th, 2012 08:00
when you say "do not carry permission", are you talking about directory/files ?
revcall1
27 Posts
0
April 17th, 2012 08:00
I didn't set any parameters on robocopy. robocopy \\server\share \\server\share
The folders and files copied but not the permissions. The other consideration is that I have ~600 GB to migrate across a WAN. My understanding is that robocopy can be slow (I'm using Server 2003)
revcall1
27 Posts
0
April 17th, 2012 08:00
That is correct. I set up a test file with certain permissions and those permissions were gone once I copied the file to the SAN. ( full control, domain admins, etc. became "everyone")
etaljic81
1K Posts
0
April 17th, 2012 08:00
You don't need to install it. You can run it from anywhere. I recommend you copy/paste the exe on the source server and run it from there
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
April 17th, 2012 09:00
get the latest version here:
EMCOPY64 Release 4.14
EMCOPY Release 4.14
EMCOPY Usage and Release Notes
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
April 17th, 2012 10:00
sharedup re-creates shares and their permission, it does not copy the actual data
etaljic81
1K Posts
0
April 17th, 2012 10:00
Thanks dynamox. I haven't used emcopy yet but have used sharedup. Good to know.
chenw87
43 Posts
0
April 17th, 2012 10:00
EMCopy should work.
With Robocopy, you need to use the /copy:S or /copyall switch to tell it to copy the ACLs. See this article for more information:
http://technet.microsoft.com/en-us/library/cc733145(v=ws.10).aspx
etaljic81
1K Posts
0
April 17th, 2012 10:00
dynamox and Wei Chen,
Do you guys know what the difference between emcopy and sharedup is? When would you use one tool over another?
Thanks!
dynamox
1 Rookie
1 Rookie
•
20.4K Posts
0
April 17th, 2012 10:00
here are my params for robocopy, note that /FFT is very important for incremental copies
/MIR /NFL /FFT /R:1 /W:1 /NP /COPYALL /B