Storage account in another region - can we move?

Gary Walker 0 Reputation points
2023-02-16T02:56:08.2966667+00:00

We have located all Azure resources to Australia East, however the Storage account is still displaying as Southeast Asia. I have tried to follow the steps in

https://learn.microsoft.com/en-us/azure/storage/common/storage-account-move?tabs=azure-portal

I have created a new storage account in the desired region, however I can't follow the process of moving data to the new storage account.

Can anyone assist with the correct commands to move everything to the new Storage account using AzCopy?

Thanks

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.
3,171 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,044 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Fabricio Godoy 2,611 Reputation points
    2023-02-16T04:54:15.58+00:00

    Hello Gary

    I believe u are looking for this>

    Power shell:

    azcopy copy "https://<source-storage-account>.blob.core.windows.net/<container-name>/" "https://<destination-storage-account>.blob.core.windows.net/<container-name>/" --recursive --source-sas "<source-sas-token>" --destination-sas "<destination-sas-token>" --source-location "SoutheastAsia" --destination-location "AustraliaEast"

    where>

    <source-storage-account>: The name of the source storage account.

    <container-name>: The name of the container you want to copy.

    <destination-storage-account>: The name of the destination storage account.

    <source-sas-token>: The Shared Access Signature (SAS) token for the source container.

    <destination-sas-token>: The Shared Access Signature (SAS) token for the destination container.

    SoutheastAsia: The source location from where you want to copy the data.

    AustraliaEast: The destination location where you want to copy the data.

    and don't forget to generate SAS tokens for both location , the permission of azcopy to access the containers and storage account.

    I rrly hope this is help u.

    Good luck!

    And please, if this is help u, don't forget to upvote.

    Regards

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.