-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lack of parameter "azure domain" when use azure blob storage as a repository #2468
Comments
hi looks like the restic/internal/backend/azure/azure.go Line 38 in 604b18a
is used here which uses the default base url
|
You can workaround this by using rclone backend: rclone supports specifying the azure endpoint via |
Adding a configuration parameter for the azure backend that allows overriding the default BaseURL should be enough to solve this issue. |
@MichaelEischer I would like to work on this issue. |
I believe that I have a solution for this issue. Does anyone have a Chinese Azure account for me to test my fix? |
Output of
restic version
restic 0.9.5 compiled with go1.11.5 on linux/amd64
Describe the issue
According to the manual here (https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html#microsoft-azure-blob-storage),
we need to provide account name and access key when use azure block storage as a repository.
But that does not work if you azure domain is not azure global, like azure China and azure Germany.
Error is returned as below:
The solution from Azure tech. support is, we must specify azure domain in this case as their tool Azure Storage Explore does.
The text was updated successfully, but these errors were encountered: