Moving Shared Folders and Data, Lesson #3

Copy the data, copy the rights (shared and NTFS), change the scripts.
Sounds simple, and this part is, especially if you use the right tools.

I copied some of the files using the "Microsoft File Server Migration Wizard", google FSMigrate.msi, and you’ll find it. I’m using verions 1.0. It does exactly what you want. It replicates all the shares, their permissions, and ntfs file and folder permissions from one server to another. You run the program on the new server (the target server). The old server would be called the source server.

image 

There are three other options.

1- Robocopy.exe, a ms utility that is command line based. It works ok, but its hard to tell what is going on.
2- Use BackupExec to backup and restore the files, it works nicely since you can specify an alternate location for files.
3- Use BeyondCompare to copy the files over. There is a setting you have to turn on to copy over NTFS permissions.

image

 

I forgot to turn on the "Copy NFTS file permissions" when I used BeyondCompare to copy all the files over…. So then I used robocopy.exe to copy over just the security rights.
robocopy /COPY:ATSOU

/COPY:copyflag[s] :: what to COPY (default is /COPY:DAT).
                     (copyflags : D=Data, A=Attributes, T=Timestamps).
                     (S=Security=NTFS ACLs, O=Owner info, U=aUditing info).

This copies everything BUT the data itself. I have to say from experience, it’s fast and it sets the rights correctly, but not the owner.

To be sure it is identical, even the owner of the file, I used Backup Exec to restore just the file trustees….It has this handy feature to restore only the permissions.

image

This image appears in the restore options. I have to say, it’s pretty slow to restore all the security info, almost as slow as restoring the actual files too.

 

In summary, Beyond Compare is the fastest, and if you turn on the NTFS permissions to copy, well, even the owner comes across fine.
Backup / restore is a slow method.
Robocopy is not gui, so it’s hard to tell what you have and how far you are along in copying.

The MS File Server Migration wizard is cool, but it doesn’t like to be interrupted, and if the target server already has the folder and files (from using robocopy or beyond compare), it errors out and fails.

Next time? I think I will use the MS File Server Migration wizard for the first major copy, then use Beyond Compare for the delta, just before I cut over. Beyond Compare is really good for delta copy. The wizard even sets up the shares for you and sets identical share permissions… how cool is that?

Advertisements

About Mike

owner of blog
This entry was posted in Migration. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s