AzCopy

Using AzCopy 4.1.0 I want to backup a directory containing files with concurrent write access from data producing application. A couple of files can be copied, but I see a lot of errors for other files. If the application causing write access is not running, same AzCopy command then works like a charm. 

[2015/07/08 10:46:12.625+00:00] >>>>>>>>>>>>>>>>
[2015/07/08 10:46:12.625+00:00][VERBOSE] 4.1.0 : AzCopy /@:guid02_backup_to_blob.response.txt

[2015/07/08 10:46:14.612+00:00][VERBOSE] Start transfer: Rauchvolumenbox_Stoff2_neuREAC.out
[2015/07/08 10:46:14.752+00:00][VERBOSE] Start transfer: Rauchvolumenbox_Stoff2_neuREAC.smv

...

[2015/07/08 10:46:16.968+00:00][VERBOSE] Transfer FAILED: Rauchvolumenbox_Stoff2_neuREAC_hrr.csv.
[2015/07/08 10:46:16.968+00:00][ERROR] Rauchvolumenbox_Stoff2_neuREAC_hrr.csv: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

...

[2015/07/08 10:46:16.987+00:00] Transfer summary:
-----------------
Total files transferred: 119
Transfer successfully:   34
Transfer skipped:        0
Transfer failed:         85
Elapsed time:            00.00:00:04

What I asked AzCopy to do? Nothing special: Copy local folder to folder in blob storage. Excerpt from my AzCopy response file.

/Source:C:\MyProjects\Cases\GUID02
/Dest:https://ffpocsacomputing01.blob.core.windows.net/jobs/guid02 

Please translate the error message for me! Are there any constraints I not aware of?

Thank you.


July 11th, 2015 5:12pm

Hi,

Not very familiar with the error message. However, you might want to check the links below, might be helpful.

https://azure.microsoft.com/en-in/documentation/articles/storage-use-azcopy/

http://blogs.msdn.com/b/windowsazurestorage/archive/2013/04/01/azcopy-using-cross-account-copy-blob.aspx

http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-files-for-windows-azure-blobs.aspx

Best Regards

Sadiqh Ahmed

________________________________________________________________________________________________________________

If a post answers your question, please click Mark As Answer on that post and Vote as Helpful.


Free Windows Admin Tool Kit Click here and download it now
July 12th, 2015 3:50am

Hi, Sascha

Thanks for your post.

The failure is expected since AzCopy does not support uploading a file being modified concurrently by other applications.

Unfortunately, theres a bug in version 4.1.0 which causes a wrong error message is given here. In your case, the original error message should be like:

                Failed to open file Rauchvolumenbox_Stoff2_neuREAC_hrr.csv: The process cannot access the file Rauchvolumenbox_Stoff2_neuREAC_hrr.csv ' because it is being used by another process.

This bug will be fixed in the next release of AzCopy.

So I recommend to stop the data producing application while doing backup with AzCopy.

Best Regards,

Longwen

July 14th, 2015 5:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics