Reputation: 1
I have a scenario where i am storing payload from 2 subscriber (Service bus topics) into 2 different storage/container. Storing mechanism are different in these case. Now i have to run a sync every 30 minutes which will compare the files created target and Source, if anything is missing in the target it should be able to copy that file from source to target.
I am looking at AZCopy sync, but that is a local application . There are logic app and Function app option as well.
Kindly share what is the best solution to this problem
Upvotes: 0
Views: 179
Reputation: 7738
This method is a little on the brute force side, but should work. Here is the top level pipeline diagram:
Here are the steps:
This makes it easier to work with the names later.
Get Metadata for the "Always right" folder (FolderB). Same process as above, but over the FolderB location.
ForEach over FolderB's child items.
From here, it's a matter of looping over the Missing Items array and handling it however you prefer [probably with a Copy activity].
Upvotes: 1