Can I hand over a blob container in a storage account to another storage account?

Per Buer 26 Reputation points
2020-06-17T14:48:58.523+00:00

Hi.

I'd like to transfer a whole container from one account to another. These are pretty big containers, potentially terabytes of data so I would prefer not to use azCopy (it ads costs, time and possible errors). A handover from one account to another could be more or less race-free as well, so that would be a bonus.

Can it be done or is copying the only option?

Cheers,

Per.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,718 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,441 questions
0 comments No comments
{count} votes

Accepted answer
  1. FelixP 86 Reputation points
    2020-06-17T18:52:05.143+00:00

    Following on from the comments, this may help - there’s a sample script in the docs here which migrates all blobs in a source container to a target - it should be fairly easy to filter to the blob container(s) you want to migrate. It contains error handling. If time is an issue, —no-wait is your friend if you have other processes to run.

    https://learn.microsoft.com/en-us/previous-versions/azure/storage/storage-common-transfer-between-storage-accounts


1 additional answer

Sort by: Most helpful
  1. FelixP 86 Reputation points
    2020-06-17T15:15:42.86+00:00

    Hi, are your storage accounts in the same region? If so there should be no charge for using azCopy - from the docs

    Is there any charge for copying data between two file shares on the same storage account within the same region?

    No. There is no charge for this process.

    https://learn.microsoft.com/en-us/azure/storage/common/storage-migration-faq