Hi There,
I'm trying to transfer a file from local filesystem inside an Azure Virtual Machine (Debian 12) to Azure Storage. Because azcopy is not available for Debian 12 I'm trying to use az cli directly.
I've tried
az storage blob copy start --account-name mybackupstorage --auth-mode login --destination-blob testfile --destination-container backupcontainer --source-uri file://home/azureuser/testfile
But this results in
The value for one of the HTTP headers is not in the correct format.
RequestId:22f5ada2-601e-0022-4853-fde006000000
Time:2024-09-02T16:18:35.3672485Z
ErrorCode:InvalidHeaderValue
headername:x-ms-copy-source
headervalue:file://home/azureuser/testfile
I've also tried using three slashes but that doesn't work either.
I've also tried az storage azcopy blob upload
but that doesn't support Managed Identities.
Could somebody tell me, where I'm thinking the wrong way?
Bests
Chris