question

JohnQ-7759 avatar image
0 Votes"
JohnQ-7759 asked microccc commented

Azure File Sync - Multiple sync Directories for same endpoint?

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sumarigo-MSFT avatar image
0 Votes"
Sumarigo-MSFT answered Sumarigo-MSFT edited

@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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JohnQ-7759 avatar image
0 Votes"
JohnQ-7759 answered microccc commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Although you cannot add multiple paths for server1 on one sync group, you can create another new sync group with server1 again and add the E-Drive as path.
Server1 can belong to multiple sync groups.

For example:
Create SyncGroup1 with Server1 with D-Drive to AzureFileShare1
Create SyncGroup2 with Server1 with E-Drive to AzureFileShare2
verify on Sep-2021

0 Votes 0 ·
Sumarigo-MSFT avatar image
2 Votes"
Sumarigo-MSFT answered AleksandrVygodchikov-6336 commented

@JohnQ-7759 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.




capture.jpg (82.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for so clear answer =)

0 Votes 0 ·
JohnQ-7759 avatar image
0 Votes"
JohnQ-7759 answered

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)?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sumarigo-MSFT avatar image
0 Votes"
Sumarigo-MSFT answered Sumarigo-MSFT commented

@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.






captured.jpg (132.6 KiB)
captured.jpg (82.0 KiB)
captured.jpg (49.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JohnQ-7759 Just checking in to see if the above answer helped. If this answers your query, please don’t forget to "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

0 Votes 0 ·