how to copy SHARE permissions to new volume

hi

we are rebuilding one of our 2003 servers at work to 2008 and in the process we are going to provision a bigger drive to store our data.
but i need to copy this data from 1 volume to another maintaing its share permissions and ntfs permissions.

i can use robocopy to do the ntfs but that doesnt copy the share permissions

Robocopy "D:\Temp" "\\NEWSERVER\d$\Temp" /S /E /COPY:DATS /PURGE /XO /SEC /R:3 /TEE /log:newserver.txt


ive had a look at perm copy but i cant figure that out either... never used it before so im not sure how it exactly works...



any suggestions on what i should use or do?



let me know if you need any more info...
thanks!
BakerSydAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BakerSydAuthor Commented:
Ok thanks.. I'll try them out tomorrow and see how it goes
0
BakerSydAuthor Commented:
having mixed results using the FSMT tool

it does copy the share name, data and NTFS persmissions... which is great.. but it did not copy the share permissions correctly.

on the source server we have domain users setup and it did not copy this over to the new location.


reading up on FSMT, it says that it does not copy local groups to a new server.. i see no mention of it not copying domain groups.

is the domain users group considered as a local group?

does this sound right or am i doing something wrong?
0
Michael MachieIT SupervisorCommented:
Apparently the Mods deleted my post because it contained a link to the info you need. So, you can use the /MIR switch with robocopy to copy permissions.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

BakerSydAuthor Commented:
But does that copy the NTFS or share permissions?

Pretty sure ive tried it and it didn't work...
0
Michael MachieIT SupervisorCommented:
NYes, it mirrors the existing files and properties, and overwrites the destination properties if the structure already exists. You may want to try /sec, that copies files with security and is better for a clean copy, not an overwrite. /secfix will attempt to repair security during copy, if necessary.
0
BakerSydAuthor Commented:
Ok thanks.. I'll have a play around with those settings and see if I can get it to work

I'll post back next week
0
BakerSydAuthor Commented:
no good guys

i tired something really basic, to see if the share information would copy over.

Robocopy "D:\Temp" "\\SERVER\d$\Temp" /MIR

this simple command did not copy over the share permissions.
folder was not shared

i think this is going to be a manual process... damn it
0
Michael MachieIT SupervisorCommented:
I had one scenario where a manual process was required, just be careful with the Sharing method you choose as using one method at one time and the other at another can cause problems with object ownership etc. You are using NTFS so I recommend using the Advanced Sharing method instead of Simple Sharing method. In one scenario my co-worked used Simple after I had built the new shares using Advanced and it caused all sorts of headaches and disruptions until I cleared it all up.
Always use Advanced where possible and once you do, never use Simple.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BakerSydAuthor Commented:
thanks for all your help but i had to do the shares manually.


im closing this question.
0
Michael MachieIT SupervisorCommented:
I thought you may have to do it that way.

Good luck going forward.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.