docker-volume-backup icon indicating copy to clipboard operation
docker-volume-backup copied to clipboard

Azure storage: Support access tier

Open LarsWesselius opened this issue 8 months ago • 1 comments

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.

LarsWesselius avatar Jun 20 '24 12:06 LarsWesselius