In my previous post, I talked about choosing and using DFS (Distributed File System) as our new file server design. In this post, I would like to share how we did the data migration. This might not be the best way to do data migration but it works for us. In fact, the process is not complicated but just time consuming.
The data migration was a 3 steps process (restore, synchronise and final cut over) mainly using tape backup and robocopy. The aim is to minimise disruption and make the migration as transparent as possible for the users.
Step 1 Step 2 robocopy "\\fileserver\H$\Document\Sales" "\\defile01\H$\Doc \Sales" /E /ZB /copy:DATSOU /XO /r:1 /w:10 /np /log+:c:\robocopy\datacopy.log
Since my new file servers are running Windows Server 2008 R2, it comes with robocopy. Otherwise, robocopy is part of Windows Server 2003 Resource Kit Tools. This step is really to keep the old and new file servers synchronise as mush as possible to reduce the amount of data to copy during the final cut over thus reducing the down time needed. It is also recommended to review the robocopy log file to look out for failed copy and resolve it before the final cut over. Step 3 Users should not have file server access during this final copy to ensure that the new file servers will have the latest data after the copy. The most appropriate time to do this will be weekend for us and preferably on Sunday. Since we need the old file server to be up and connected to the network; therefore the easiest way to prevent users from accidentally accessing the old file server is to stop the share. For our case, it is to stop the File Share resource using Cluster Administrator. After we are done with the final copy, logon script needs to be updated to map to the new UNC path (e.g. \\deinfotech.org\Document). Users will have their network drive mapped to the new path at the next logon. |
Robocopy is by no mean the only tool available to do the job. I have used XCOPY for adhoc and small file share data copy. There are also other tools such as Secure Copy which has more features but not free.
The next post will be a short one where I will be sharing some of my post file server migration tasks.
If you have other interesting methods to migrate data, I will be really interested to hear from you.
No comments:
Post a Comment