- This Migration Guide provides the procedures to be followed for migrating home directories from File Servers to OneDrive for Business.
- This strategy is only recommended when migrating a small number of home directories. When migrating a larger number of home directories, PowerShell scripts and a CSV file can automate the process. Refer to KB005488 for step-by-step instructions, and to obtain the scripts and CSV file.
- When migrating file shares from the file server, follow the migration guide specific to that scenario. Typically, file shares will be migrated to SharePoint Online Site libraries.
- The diagram below provides a high-level overview of the steps involved in migrating a small number of home directories. The key difference for this type of migration scenario is that this requires an Azure subscription, and the use of the BitTitan UploaderWiz utility to upload the home directories to Azure before they can be migrated into the OneDrive for Business accounts using MigrationWiz.
- Note: Unfortunately, we no longer support migrations to or from GoDaddy hosted OneDrive.
Prepare Azure Environment
- Estimate Azure storage costs. This step is optional, but is useful in order to provide the customer with upfront storage costs ahead of time. KB005177
- Buy an Azure subscription (or use the free one-month trial, and be aware that this option is only viable if you are performing a very small migration). KB004996
- Create an Azure storage account, and take note of the Storage Account Name and the Primary Access Key. (In Azure, from the storage screen, click Manage Access Keys at the bottom of the screen.) These need to be entered into the MigrationWiz document project, when specifying the Source settings. We recommend that you create an Azure Storage Account in the same Microsoft data center as the Destination Office 365 tenant. There is no need to create any Azure containers for this migration. Separate containers are created on a per-home directory basis. During migration, MigrationWiz will create two separate metadata files (with extensions: -directory.metadata and -files.metadata) which will be added to each container. These are used during migration by MigrationWiz, to build the folder structure in OneDrive for Business and to migrate the permissions. They should not be deleted until after the migration. KB004832
Prepare Destination Office 365 Environment
- Set up the Office 365 tenant. The Destination must be OneDrive for Business, not the free personal OneDrive version that comes with outlook.com (aka. hotmail.com).
- Add users and assign SKUs (if permissions are being migrated, this is required).
- Assign a SKU to the Office 365 global admin account being used for migration; often this will already have a SKU assigned. This is required for MigrationWiz to provision the OneDrive for Business accounts during migration.
Upload Files to Azure
Note: These steps are performed from the file server, or computer joined to the domain, when logged in with domain admin account, with local admin rights to the machine.
- Download and extract the UploaderWiz utility from here (e.g., extract into the c:\apps\uploaderwiz directory).
- Set the home directory migration batch to read-only access by user, and inform each user that a migration is occurring and that their home directory is now read-only. (This will prevent the user from adding any files to their home directory during the migration). KB005479
- From the command console, running as administrator, from the directory that UploaderWiz was extracted into, run the following command (replace the x's with your own information): KB004997
UploaderWiz -accesskey "xxxxxxxx" -secretkey "xxxxxxxxxxxxxxxxxxxxxxx" -type azureblobs -rootpath "xxxxxxxx" -homedrive trueNotes:
- If there are problems with the upload, and you need troubleshooting help, refer to KB005473.
- If performing these steps from a domain-joined computer, a network drive needs to be mapped from the domain-joined computer to the file server, and the rootpath needs to match this drive letter, followed by the directory path - e.g., "x:\home directories" (if spaces in the path then need to surround the path by quotes) or x:\homedir.
- Create customer. KB005421
- Create the Source and Destination endpoints (select Azure File System for the Source endpoint, and OneDrive for Business for the Destination endpoint).
- Launch Document migration (select All Products/Document Migration).
- Set up the Project (Create project/Create a document project/Name project, and Select MSPComplete customer/Select Source endpoint/Select Destination endpoint).
- IMPORTANT: Due to API limitations, MigrationWiz is unable to migrate a file greater than 250MB in size. Read the What limitations of SharePoint Online or OneDrive for Business should I be aware of when migrating? article for more information.
- This first project is the baseline project, which all other projects will be cloned from. It is recommended to call this 'baseline', for easy reference.
- Set the value for Licensing/Maximum licenses to consume per item per pass licensing count. The default value = 1. (This allows up to 10GB to be migrated. For example: If the largest home directory = 78GB, set this value to 8, otherwise this migration will stop at 10GB.) KB004890
ShrinkFoldersMaxLength=200under Support/Support options. KB005007
RenameConflictingFiles=1under Support/Support options. KB005058 (Refer to the section in this article with the heading: Multiple files with the same name limitation.)
InitializationTimeout=28800000under Support/Support options. KB005242
- Set the Preferred BitTitan Data Center. (For the fastest migration speeds, select the Data Center that is closest to your Office 365 Destination tenant.) KB004268
- Specify the correct container name under the Source: File System/Container Name field. By default, the container name is migrationwiz. This must be changed or your migration will fail. This must be set to match the name of the Azure container that was created on your Azure subscription when the home directories were uploaded in the previous step, under the "Prepare Source File Server Environment" section of this guide. Typically, this will match the name of the home directory, unless the home directory contained any special characters (including spaces and uppercase characters). In such cases, the Azure container name could be different, and so the names should be checked within Azure. KB005484
- Remove access to the Source home directories.
- Provide training on OneDrive For Business.
- Decommission file server. Perform this step only after migrating all data from the file server, such as file shares, and you are absolutely certain that you will not be returning to the file server.
- Delete all the Azure blob containers that were created during the upload to Azure.
Note: This will prevent incurring post-migration Azure costs for these containers. Be careful to only delete the containers created by UploaderWiz; these will be names that match the home directories, and have a create date from the date of the upload.