I was redirected here from Azure instructions do not make any sense · Issue #40 · kees-z/DuplicatiDocs · GitHub.
In that issue I am essentially trying to figure out the CLI syntax for an Azure backup, and the docs weren’t incredibly clear about the placement (or syntax) of the arguments. Now I have a command like this:
duplicati-cli backup "azure://containerbackuptest/?azure_account_name=machetebackuptest&azure_access_key=[redacted]&azure_blob_container_name=containerbackuptest"
It fails thusly:
Backup started at 04/23/2019 03:47:21 Checking remote backup ... Listing remote folder ... Listing remote folder ... Listing remote folder ... Listing remote folder ... Listing remote folder ... Fatal error => The remote server returned an error: (403) Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature..
I have tried removing various parts of the command and the result is the same. Which leads me to question:
- Are your headers correct?
- Is my syntax correct?
- Has anyone done this? I don’t see a “How To” for Azure.