From my previous post of Modern Day File Server with Azure File Sync, I have discussed the technology behind the Azure File Sync, benefits of integrating with the file server and capabilities of azure sync with work scenarios. Now we are going to implement it. Remember it’s still in public preview and your region might not have it, if so just change the region.
Prerequisites are simple, first, your region should support Azure File Sync and you should have a storage account in Azure. Also to test the local file sync, you should have a local file share.
This will complete the prerequisites, next do the following steps
When configuring a local server to sync its data to Azure, you need to download and install the Azure File sync agent from Microsoft downloads. And before installing the agent, you need to install the Azure PowerShell and turn off the Internet Explorer Enhanced Security Configuration.
Install the Module - Install-Module AzureRM –AllowClobber
Load the AzureRM module - Import-Module AzureRM
Next step is to install the Azure File Sync Agent. Go to the following link and download the agent installation
- https://www.microsoft.com/en-us/download/details.aspx?id=55988
Run the installation with default settings
When installation completes configuration wizard will pop open, sign in using Azure credentials
Select the Azure Subscription and the previously created Resource group and storage sync service account, you need to sign in again
After completing the agent installation, log in again to the Azure portal to add the server endpoint to the Sync group
Open Sync group click Add Server Endpoint
Select the registered server and type the path name where you need the data to be synced.
Cloud Tiering - This is to maintain the free space in the local file server. If you add 50% to the tiering value, when drive exceeds the specified free space, the tiering engine will kick in and delete the additional data from local drive to maintain the free space.
Note – you cannot sync the system drive (C :)
After sync completes, you can see both cloud endpoints and server endpoints are in good health
To view the files that sync to Azure I’m using Microsoft storage explorer, download and install using the following link
https://azure.microsoft.com/en-us/features/storage-explorer/
After login to the correct storage account using storage explorer, you can see the files which have sync using Azure Sync
Hope this post is useful
Cheers
References
Microsoft TechNet, Microsoft ignite 2017 contents
Don't forget to follow us on our social networks to keep track of all the latest blog posts!