Azure AzCopy command fail to copy csv files to Azure Storage

0 votes

I am using this Tutorial: Migrate on-premises data to cloud storage with AzCopy from Azure team to copy csv files from my local machine to Azure Blob Storage. I followed the prerequisites and other requirements but I get the following error whether I copy the entire folder or an individual file.

Question: What could be the cause of the error and how can we resolve it?

Remarks: The folder has 4 files and each file is about 1GB of size.

Error when copying a single file:

PS C:\WINDOWS\system32> azcopy copy "C:\Junk1\MyFileName.csv" "https://myDataLakeStorageName.dfs.core.windows.net/myContainerName" --recursive=true
INFO: Scanning...
INFO: Authenticating to destination using Azure AD
INFO: Any empty folders will be processed, because source and destination both support folders

Job 9eea819a-e3f7-2a4c-4929-d382cc13f5b6 has started
Log file is located at: C:\Users\myusername\.azcopy\9eea819a-e3f7-2a4c-4929-d382cc13f5b6.log

0.0 %, 0 Done, 0 Failed, 1 Pending, 0 Skipped, 1 Total,


Job 9eea819a-e3f7-2a4c-4929-d382cc13f5b6 summary
Elapsed Time (Minutes): 0.0334
Number of File Transfers: 1
Number of Folder Property Transfers: 0
Total Number of Transfers: 1
Number of Transfers Completed: 0
Number of Transfers Failed: 1
Number of Transfers Skipped: 0
TotalBytesTransferred: 0
Final Job Status: Failed

Error when copying the entire folder:

PS C:\WINDOWS\system32> azcopy copy "C:\Junk1\" "https://myDataLakeStorageName.dfs.core.windows.net/myContainerName" --recursive=true
INFO: Scanning...
INFO: Authenticating to destination using Azure AD
INFO: Any empty folders will be processed, because source and destination both support folders

Job 146c0764-b51d-eb40-6077-9fd70591baf0 has started
Log file is located at: C:\Users\myusername\.azcopy\146c0764-b51d-eb40-6077-9fd70591baf0.log

0.0 %, 0 Done, 0 Failed, 5 Pending, 0 Skipped, 5 Total,


Job 146c0764-b51d-eb40-6077-9fd70591baf0 summary
Elapsed Time (Minutes): 0.0335
Number of File Transfers: 4
Number of Folder Property Transfers: 1
Total Number of Transfers: 5
Number of Transfers Completed: 0
Number of Transfers Failed: 5
Number of Transfers Skipped: 0
TotalBytesTransferred: 0
Final Job Status: Failed

PS C:\WINDOWS\system32>

UPDATE

Log file exceeds the size limit of a Stack Overflow post. But, per a request from user @GauravMantri, I'm attaching the link to the log file here: AzCopy_Error_Log. NOTE: This link will expire after 30 days from today November 21, 2021.

azure

Mar 16 in Azure by Edureka
• 5,760 points
70 views

1 answer to this question.

0 votes

try using the below command:

azcopy copy [source] [destination] [flags]
answered Mar 24 by Edureka
• 5,460 points

Related Questions In Azure

0 votes
1 answer

How to retrieve View definition on Synapse (Azure SQL DW)?

To authenticate with Azure SQL Database or ...READ MORE

answered Mar 4 in Azure by Edureka
• 5,760 points
49 views
0 votes
1 answer
0 votes
1 answer
0 votes
0 answers
+1 vote
2 answers
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP