Azure File Sync - Multiple sync Directories for same endpoint?

John Q 11 Reputation points
2020-09-29T03:34:47.71+00:00

I registered an on prem Windows file server with Azure File Sync and in the sync resource I specified a local directory. But is there a way I can also sync a separate directory for the same server(endpoint)? Or can you only sync one directory for a server and that’s it?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,320 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Sumarigo-MSFT 47,201 Reputation points Microsoft Employee
    2020-09-29T15:44:44.46+00:00

    @John Q No that option isn't available! A specific location on the server can only sync with one sync group. Syncing the same location or even a part of it – with a different sync group doesn’t work.

    Azure File Sync does not support more than one server endpoint from the same server in the same sync group. That's why you don’t see the server listed in the drop-down when you create a new server endpoint in the same sync group. We don’t allow multiple server endpoints from the same server in the sync group because the content in those directories would be the same once sync merged the data.

    To add a new server endpoint from the same server, you need to create another sync group and that server endpoint will sync to a different Azure file share.
    29167-capture.jpg

    Hope this helps! Kindly let us know if the above helps or you need further assistance on this issue.

    ------------------------------------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    5 people found this answer helpful.

  2. Sumarigo-MSFT 47,201 Reputation points Microsoft Employee
    2020-09-29T10:23:24.627+00:00

    @ohnQ-7759 If I understand your question correctly you wish to have users mount to a particular directory .You cannot have them mount the specific directory, but you can set permissions on the directory and files.

    A sync group contains one cloud endpoint, or Azure file share, and at least one server endpoint. The server endpoint object contains the settings that configure the cloud tiering capability, which provides the caching capability of Azure File Sync. In order to sync with an Azure file share, the storage account containing the Azure file share must be in the same Azure region as the Storage Sync Service.

    Hope this helps! Kindly let us know if the above helps or you need further assistance on this issue.


    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

  3. John Q 11 Reputation points
    2020-09-29T13:25:51.407+00:00

    Sorry no I mean no tmounting to Azure.
    I just mean, I have a "Server 1" with a D-DRive and E-Drive.
    I have a Sync group with Server 1 and am syncing D-Drive. However how can I also add E-Drive?
    There's only one text box for a directory path.


  4. John Q 11 Reputation points
    2020-09-29T18:43:01.967+00:00

    What if I change the directory from D:\FILES to just D:\ instead?
    Will that keep "Files" directory and start adding all other folders under D (like D:\Files2, D:\Files2)?

    0 comments No comments

  5. Sumarigo-MSFT 47,201 Reputation points Microsoft Employee
    2020-10-01T16:18:48.323+00:00

    @ohnQ-7759 Yes, that would be a better option in your scenario, you can sync complete volume ex: F:\ which contains multiple folders. It can be synced.
    Below images will give complete details:
    29732-captured.jpg

    29698-captured.jpg

    Azure File Storage + Windows Server "sync "
    29723-captured.jpg

    Hope this helps! Kindly let us know if the above helps or you need further assistance on this issue.

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.