I'm trying to copy all containers from BackBlaze B2 to Azure Blob with azcopy and having errors. Followed microsoft docs. What I'm doing wrong?

Anonymous
2022-03-13T13:08:05.723+00:00

I tried following Copy data from Amazon S3 to Azure Storage by using AzCopy | Microsoft Learn

As said on S3 Compatible API (backblaze.com

Access Key ID and Secret Access Key
For the purposes of terminology, the Application Key and Application Key ID are the equivalent of the Secret Access Key and Access Key ID respectively. For more information about App Keys, please see our documentation here.

So I got AWS_ACCESS_KEY_ID=<keyID> and AWS_SECRET_ACCESS_KEY=<applicationKey> from BackBlaze B2 > Account > App Keys > Add a New Application Key and set as environmental variables:

set AWS_ACCESS_KEY_ID=#########  
set AWS_SECRET_ACCESS_KEY=##########  

Finally:

azcopy copy 'https://s3.us-west-002.backblazeb2.com' 'https://<myaccount>.blob.core.windows.net/<container>' --recursive=true  
or  
azcopy copy "https://s3.us-west-002.backblazeb2.com" "https://<myaccount>.blob.core.windows.net/<container>" --recursive=true  

Both got same errors:

INFO: Scanning...  
INFO: Authenticating to destination using Azure AD  
INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support  
  
failed to perform copy command due to error: cannot start job due to error: cannot scan the path \\?\C:\WINDOWS\system32\https:\s3.us-west-002.backblazeb2.com, please verify that it is a valid.  

What I'm doing wrong?
Why when using "azcopy copy 'https://s3.us-west-002.backblazeb2.com'https://<myaccount>.blob.core.windows.net/<container>' --recursive=true" or "azcopy copy "https://s3.us-west-002.backblazeb2.com" "https://<myaccount>.blob.core.windows.net/<container>" --recursive=true" it parses the path "\?\C:\WINDOWS\system32\https:\s3.us-west-002.backblazeb2.com"?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,659 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
715 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,409 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Cloudiana 6 Reputation points
    2022-11-13T13:18:49.147+00:00

    Another straightforward solution is by the help of a third-party tool which can integrates fine with backblaze and Azure blob to transfer from/to both , and I suggest Goodsync , Gs Richcopy 360 and Macrium

    1 person found this answer helpful.
    0 comments No comments

  2. Manu Philip 16,961 Reputation points MVP
    2022-03-13T14:53:25.5+00:00

    If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes (''). See the reference here: storage-use-azcopy-s3

    ----------

    --please don't forget to upvote and Accept as answer if the reply is helpful--