question

74781288 avatar image
0 Votes"
74781288 asked deherman-MSFT answered

How to sync a folder from Azure file storage from one location to a folder from Azure file storage to second location and vice versa

I have 2 azure file storage location
Location 1 and location 2.

There are 2 different folders in those 2 location,
I want to synchronize the data between those 2 folders of Azure file storage.
How can I do it?a

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.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered

@74781288
You can do this with azcopy sync. You can synchronize the contents of a file share with another file share and you can also synchronize the contents of a directory in a file share with the contents of a directory that is located in another file share. Synchronization is one way. In other words, you choose which of these two endpoints is the source and which one is the destination. Synchronization also uses server to server APIs. I believe this specific example is what you are trying to achieve.

Hope this helps! Please try this and see if it works for you. Let me know if you have any questions or need further assistance.



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.