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

NetGear Ready NAS installed, Now how to sync all exsisting data and PERMS?

Hi and thank you

 Up until now we have utilized the Server (windows 2008 R2) as our fileserver with internal HDD's. Approx 800GB of data over Two drives.  Now we installed the NetGear ReadyNAS 2120 rack device with 4TB running in Raid 5 for 2.71 useable. I added this to the domain and I now need to find a way to "copy" all the exsisting data over to this new NAS and then I will close the connection from users to the old hard drives on server and re-write the logon scripts to point to the new NAS which I labeled "Fileserver"..

I have no idea what I can run to get this working correctly so permissions carry over as well? Or even just get ALL the data and then I can assign the permissions again if it allows that but existing permissions most likely would be an issue? TY all
0
cassini12
Asked:
cassini12
  • 5
  • 3
1 Solution
 
NVITCommented:
I assume you've setup the destination share on the NAS?
e.g. \\Fileserver\share1

See http://www.downloads.netgear.com/files/GDC/READYNAS-100/READYNAS_OS_6_SM_EN.pdf

Use this to copy the files and folders and their permissions...

robocopy /mir /sec /secfix /copyall /dcopy:t /r:2 /w:2 /log+:c:\CopyToNASLog.txt "\\oldserver\\share" "\\Fileserver\share"

Open in new window


http://ss64.com/nt/robocopy.html

https://blogs.technet.microsoft.com/filecab/2008/07/31/robocopy-mir-switch-mirroring-file-permissions/
1
 
cassini12Author Commented:
Wow that looks great yes I have set that share. I will attempt this now. TY so much will report back
0
 
cassini12Author Commented:
So I ran this for the files and it seems to have worked great, my question is, how come some files,folders have the permissions carried over ( ex: I can right click, properties and security tab shows same users on new NAS folder with same permissions) But some just say "no users or groups have permissions? see attached. Will this stop users from being able to access it if I flip the switch to point the NETLOGON scripts to new fileserver ? TYVM
nousers.png
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.

 
NVITCommented:
Per the link I posted, try this to refresh security information for existing destination files and directories without copying file data:

robocopy /E /Copy:S /IS /IT /log+:c:\CopyToNASRefreshLog.txt "\\oldserver\\share" "\\Fileserver\share"

Open in new window


If that doesn't work, you'll (admin) need to first take ownership of the entire folders. Then, do the above again.

Is there a lot of folders affected?
0
 
cassini12Author Commented:
I did 4 Folders and 2 of them worked fine and the other 2 have no permissions and therefore no access is allowed. I am trying the above now. TY *fingers crossed
0
 
cassini12Author Commented:
TY so much for your help, for the other 2 that permissions did not carry over, I just set them "remotely" at the share parent and it all works just fine. TY again VERY much!
0
 
NVITCommented:
You're welcome, Cassini. I'm glad to help and that it turned out well for you.
Have a nice day / night.
0
 
cassini12Author Commented:
Follow up if possible, I ran this again today for another office migration to a NAS device from local hard disk. Worked great all permissions transferred and it seemed perfect, until I realized some files /folders from original location did not transfer over *thinking they were pst type files that were open on that clients pc* anyways the orginal folder is completely removed from the orginal location?? Why would that happen, can I do anything to find it? TY
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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