rclonefunction is an experimental Azure function with a custom handler written in Go.
It tries to watch and sync the changes in the content in the Azure storage blob container to another storage by launching rclone. You can suuply rclone.conf to specify the destination. It can be any place as long as rclone can support.
You can try it out with the following Deploy to Azure button.
Provide the following settings in the form.
- App RG Name: Resource group name for the function app and related resources.
- Src RG Name: Resource group name for the source storage account.
- Storage Account Name: Source storage account name.
- Storage Container Name: Enter
artifactsfor now.
After deploying it, you have to put your own rclone.conf in the config container in the storage account of App RG. rclone.conf should have [dst] remote config for the destination.
[dst]
type = onedrive
token = {"access_token":"...."}
drive_id = b!IcOpYe_........................
drive_type = documentLibrary
- rclonefunction (Presentation in Japanese)
