Questions tagged [azcopy]

AzCopy is a command-line utility which allows to upload or download files between Windows Azure Blob Storage and the local file system

324 questions
3
votes
1 answer

Copy blob without downloading it to local memory

I need to copy blob from one Azure storage account to another. As mentioned here, AzCopy does it by downloading the blobs from the source storage endpoint to local memory and then upload them to the destination storage endpoint. Due to some…
Shridhar R Kulkarni
  • 6,653
  • 3
  • 37
  • 57
3
votes
1 answer

Hot set the /Source (or /Dest) to storage emulator for AzCopy

I want to dump some simple tables to my local machine's emulator so that i can test my app locally first. i am able to azcopy to my local disk as files. but i can not find how to specify /Dest for storage emulator. can someone help? thanks.
RyanShao
  • 429
  • 2
  • 9
3
votes
1 answer

AzCopy from HDInsight cluster failing in PowerShell script

I have a PowerShell script that creates some output using hive on HDinsight. The output is placed in a local blob, and then I copy it to a local machine using AzCopy. I do this a lot to get various pieces of data that I need, often calling that…
Mike Wise
  • 22,131
  • 8
  • 81
  • 104
2
votes
1 answer

AzCopy - Unattended login

Under Linux, I would like to know if there is a way to login using azcopy utility without going to the browser and enter the key its provide when azcopy login command is executed? Is there a way to do it unattended and store the credentials in a…
Danny.Icha
  • 41
  • 1
  • 2
2
votes
1 answer

azcopy installation on container error - "panic: mkdir : no such file or directory"

I'm trying run azcopy v10 inside a container to export some files to azure blob storage. To include azcopy utility in the container image, I have use below instruction in the Dockerfile. RUN /bin/bash -c 'wget…
ns15
  • 5,604
  • 47
  • 51
2
votes
2 answers

Why can't I set env vars in cmd. Unable to use azcopy to copy from S3

I need to copy an 3S bucket to an Azure blob storage container. I'm trying to use azcopy. However it doesn't work because I cannot set the required AWS keys as env vars. I have followed this guide:…
Salbrox
  • 143
  • 1
  • 15
2
votes
0 answers

Unable to copy all files/folders to Azure Storage from DevOps Pipeline

I am using Azure DevOps pipeline release to copy files from build artifact to Azure storage container. I am using a tool called "Azure file copy" (it's azcopy I believe), which is the only one I can find in the market place. It connects using my…
Franky
  • 1,262
  • 2
  • 16
  • 31
2
votes
1 answer

Unable to login to Azure using `azcopy login --tenant-id` with the Tenant ID from an Azure Government account?

I am using an Azure Government account that has the base URL of portal.azure.us. I am trying to use the azcopy executable on my macOS and run the command ./azcopy login --tenant-id=. I am 100% sure the tenant ID I am using is correct.…
greendaysbomb
  • 364
  • 2
  • 6
  • 23
2
votes
1 answer

How to sync two Azure blobs on two different accounts on schedule time?

In order to achieve High Availability we have created two blob containers under different storage accounts at different Azure regions. So that, if application find issues while WRITING to primary blob container, application will perform…
2
votes
1 answer

azcopy failed to perform copy command due to error: cannot use directory as source without --recursive or a trailing wildcard (/*)

Trying to copy a .vhd between two different storage accounts using SAS. Getting error. Can someone give me a hand please? thank you much azcopy cp…
BarrySDCA
  • 91
  • 1
  • 2
  • 9
2
votes
1 answer

Azcopy - Copy only files without folders

As the title suggests I am trying to copy all files with a specific extension, within a folder structure, to blob storage without recreating the local folder structure; This works fine when I run the following; azcopy cp 'H:\folder1\folder2\*.txt'…
krosbonz
  • 21
  • 3
2
votes
1 answer

azcopy metadata with a value that has a semicolon

This is probably a simple question but for some reason I can't find the answer I'm trying to upload a file to our blob storage and in the process setting the metadata properly for reading it afterwards. So currently I have the following…
Samyne
  • 308
  • 1
  • 13
2
votes
1 answer

AzCopy - how to specify metadata when copying a file to a blob storage

I'm trying to upload a file to an Azure Blob storage using AzCopy, but I want to include metadata. According to the documentation, "AzCopy copy" has a metadata parameter where I have to provide key/value pairs as a string. How has this string to be…
Arjen
  • 132
  • 1
  • 2
  • 8
2
votes
1 answer

Dowload zip file from blob with SAS link using azcopy

I try to download a zip file from blob using the SAS link in powershell. I use the exact syntax as mentioned here but I get the below error failed to perform copy command due to error: cannot use directory as source without --recursive or a…
shanmuga raja
  • 685
  • 6
  • 19
2
votes
2 answers

azcopy: failed to parse user input due to error: the inferred source/destination combination is currently not supported

I am currently working on a program where when I run it, it will do a blob data transfer from my VM to my azure storage using SAS. The code I have written so far is this: import subprocess import os import sys try: key = input("Please insert…
Buzzkillionair
  • 319
  • 3
  • 18
1 2
3
21 22