2010-07-22 10:34 AM
what is the best way to migrate ( via script ) around 1000 CIFS file shares from a Windows 2003 Server to an NetApp FAS with CIFS.
Is there a way to script the creating in a simple way, or exists a tool for that ?
2010-07-23 01:36 AM
The method I usually use is Windows Robocopy. If you create a main share folder on the filer then you can use Robocopy to migrate the files to it over the LAN.
Robocopy is basically a file copying script but it does have a GUI front-end. You can also choose to keep the same file permissions, security etc which is very handy when using AD.
You can download Robocopy from the Microsoft site.
2010-07-23 04:41 AM
its not just the copy of all the Files. The very important thing is the automatic creation of the shares. We won't create every single Share by hand. Is there a oppertunity to do this automatically ?
2010-07-26 03:47 AM
OK, in that case then I'd research the Data ONTAP PowerShell scripts to create a cmdlet which lists the shares of the server and feeds them into a NetApp create new CIFS share command.
Once this is done, the CIFS shares should be created for you to run Robocopy on.
2010-08-05 08:43 AM
It might be easier to modify the etc\cifsconfig_share.cfg. You could create a dummy share that will show you the syntax of the file then just add all your shares in the cfg file.
2010-10-13 11:28 PM
secure copy wil do the job
it can copy files, directories, ntfs security, shares, share security