Upload file to Azure blob storage linux

F Ahmed 36 Reputation points
2020-08-20T02:27:51.073+00:00

I have ubuntu installed and i am trying to upload a file from local to Azure blob storage, it looks like there is some syntax issue

azcopy --source "/home/ubuntu/Documents/PG_ps/New_Test_PG_New2020_08_19_10_02_PM.sql" --destination "https://Tesbackup.blob.core.windows.net/testcontainer/New_Test_PG_New2020_08_19_10_02_PM.sql?mySAStoken"

Can someone please tell me what am i missing here?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,916 Reputation points Volunteer Moderator
    2020-08-20T07:21:19.417+00:00

    What's the error message?

    Please refer the below document which has syntax and examples given for AzCopy -

    storage-use-azcopy-blobs

    ----------

    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    0 comments No comments

  2. Sumarigo-MSFT 47,466 Reputation points Microsoft Employee Moderator
    2020-08-21T06:03:47.153+00:00

    @F Ahmed You should remove this --source and --destination are not parameter names

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.