Azure-storage-azcopy: Can't copy data when using Azurite

Created on 17 Feb 2020  路  3Comments  路  Source: Azure/azure-storage-azcopy

Which version of the AzCopy was used?

10.3.3

Which platform are you using? (ex: Windows, Mac, Linux)

Linux

What command did you run?

azcopy copy http://azurite:10000/devstoreaccount1/sample/Cont_20190213/0000574133.jpg
azcopy copy http://localhost:10000/devstoreaccount1/sample/Cont_20190213/0000574133.jpg

What problem was encountered?

We use Azurite as our local storage. A sidecar container wants to download data by invoking azcopy. But it always show failed to parse user input due to error: the inferred source/destination combination is currently not supported. Please post an issue on Github if support for this scenario is desired.

How can we reproduce the problem in the simplest way?

  1. Run azurite by docker
  2. Prepare some fake data and generate data url through AzureStorageExplorer
  3. Run a ubuntu:16.04 container which should on the same docker network with azurite container
  4. Install azcopy
  5. Execute command

Have you found a mitigation/solution?

No

Most helpful comment

BTW You will need to use the from-to parameter when using Azurite. AzCopy will tell you that when you run it, if you forget.

Here are some examples of how to use it:

azcopy copy /data/foo http://azurite:10000/devstoreaccount1/sample/foo --from-to LocalBlob
azcopy copy http://azurite:10000/devstoreaccount1/sample/foo /data/foo --from-to BlobLocal

All 3 comments

This looks like an issue that we are fixing here: https://github.com/Azure/azure-storage-azcopy/pull/743

The fix should be released in version 10.4. (And to answer the obvious question, sorry, we don't pre-announce release dates).

Hi there! This should be fixed in 10.4. Enjoy!

BTW You will need to use the from-to parameter when using Azurite. AzCopy will tell you that when you run it, if you forget.

Here are some examples of how to use it:

azcopy copy /data/foo http://azurite:10000/devstoreaccount1/sample/foo --from-to LocalBlob
azcopy copy http://azurite:10000/devstoreaccount1/sample/foo /data/foo --from-to BlobLocal
Was this page helpful?
0 / 5 - 0 ratings

Related issues

martinwoodward picture martinwoodward  路  6Comments

alvipeo picture alvipeo  路  4Comments

IGx89 picture IGx89  路  4Comments

brettrowberry picture brettrowberry  路  4Comments

Mmdixon picture Mmdixon  路  3Comments