When setting up an Azure network and migration your local data to a SharePoint site, often times you will use the SharePoint migration tool. The SharePoint migration tool compresses your data and saves it to a temporary directory on your
C:/ Drive. This can be problematic if you are moving a large volume of data to SharePoint but only have a limited amount of space available on your
C:\ Drive. A very simple way to fix this is to just create a symbolic folder link where the SharePoint Migration Tools stores the data to a drive that has more space. This can even be an external drive.
Symbolic Link Setup
Step 1) Before we make any of these changes, we need to stop the SharePoint Migration Tool service. This will allow us to make changes necessary to move the temp directory.
R keys to open the Run window. Type
services.msc and press
Once the Services window opens you will need to search for
SharePoint Migration Service.
Step 2) Right click on
SharePoint Migration Service and click
Now that the service is no longer running we can now make our changes. Keep this window up as we will need to come back to this to start it back up!
Step 3) Open CMD as an elevated user. "Run as Administrator". Once CMD has been opened let's make the folder on the larger drive for the temp data storage.
Step 4) Next we are going to CD into the SharePoint Migration Tool storage directory.
Step 5) Let's rename the old directory so it does not get used any longer.
rename MigrationToolStorage MigrationToolStorageOld
Step 6) We now can make our symbolic linked folder.
mklink /D MigrationToolStorage D:\000MigrationToolStorage
You can check that the symbolic linked folder was created by navigation to the directory in explorer and looking for the special folder icon.
With a special Symbolic folder created like this, it will trick the SharePoint Migration Tool into saving it's temp data in a location that actually has enough storage for all the compressed data it is sending to SharePoint. I wish that the setup of an agent would allow you to manually set this. For now this works!
Thanks for Reading!