Ultra GC
Ultra GC

Reputation: 351

Azure Storage Copy between Accounts - In what order?

Working on copying Azure Storage Account blobs one one subscription to another. Does anyone know if files (blobs) are copied in sequence? For example:

Are the above copied in the order shown? I am using "Az Storage Blob Copy" command.

Thanks

Upvotes: 0

Views: 844

Answers (1)

suziki
suziki

Reputation: 14111

Yes, it is copied in sequence. But it can not copy folder. The command will take folder as blob, and then it will throw out error.

The bulk copy is like this:

az storage blob copy start-batch --account-key xxx --account-name xxx --destination-container xxx --source-account-name xxx --source-account-key xxx --source-container xxx

And this is the doc:

https://learn.microsoft.com/en-us/cli/azure/storage/blob/copy?view=azure-cli-latest

Upvotes: 2

Related Questions