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

74781288 1 Reputation point
2021-09-14T02:52:56.237+00:00

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
Azure Files
An Azure service that offers file shares in the cloud.
1,172 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 33,701 Reputation points Microsoft Employee
    2021-09-14T23:25:28.01+00:00

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

    0 comments No comments