Azure advanced config option 'access_tier' appears to be case sensitive

What is the problem you are having with rclone?

When configuring an Azure Blob Storage remote, interacting with the remote while 'access_tier' is set to "archive" fails. When 'access_tier' is set to "Archive", the same interaction appears to work.

Run the command 'rclone version' and share the full output of the command.

rclone v1.53.1
- os/arch: linux/amd64
- go version: go1.15

Which cloud storage system are you using? (eg Google Drive)

Azure Blob Storage

type = azureblob
account = [redacted]
key = [redacted]
access_tier = archive

Results in this:

$ rclone lsd AzureHomestackBackup:
2022/01/22 20:57:43 Failed to create file system for "AzureHomestackBackup:": Azure Blob: Supported access tiers are Hot, Cool and Archive
$ rclone ls AzureHomestackBackup:/
2022/01/22 20:57:52 Failed to create file system for "AzureHomestackBackup:/": Azure Blob: Supported access tiers are Hot, Cool and Archive

While this:

type = azureblob
account = [redacted]
key = [redacted]
access_tier = Archive

Results in this:

$ rclone ls AzureHomestackBackup:/
$ rclone lsd AzureHomestackBackup:/
          -1 2022-01-22 15:43:05        -1 homestack-backup

IMHO either the backend should handle access_tier options in a case insensitive manner, or at the config step invalid values (i.e., 'archive') should result in an error.

edit: formatting

Probably won't matter, but can you please retest on the latest as you have a very old version.

Hi, I upgraded to the latest stable version of rclone:

$ rclone version
rclone v1.57.0
- os/version: ubuntu 18.04 (64 bit)
- os/kernel: 4.15.0-166-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none

The behavior was unchanged, so it's not resolved in the latest version. FWIW I also searched the forum and bug tracker and found no mention of this issue before.

I figured it wouldn't change anything.

I'd say to just submit an issue on the Github and we can decide if it's a doc fix or an actual change.

Issues ยท rclone/rclone (

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.