docker-volume-backup
docker-volume-backup copied to clipboard
Azure storage: Support access tier
It would be great if the access tier could be specified in the config of the blobs uploaded. Now, they get uploaded with whatever is the default of the storage account.
If you pass a UploadStreamOptions into UploadStream
here:
https://github.com/offen/docker-volume-backup/blob/bb11ae035b4d563f7fe86e9bcb7e3dac3c29ed4f/internal/storage/azure/azure.go#L106
You can specify the access tier. For most usecases, you'd probably want Archive.
I would make a PR but I will not pretend to understand how Go works.