Azure Storage Account Replication: Manual Migration Scenarios

Manual Migration Scenarios

Question

It might be possible to switch a storage account from one type of replication to another type using Azure portal, Azure CLI or PowerShell (just by updating the replication settings) or you might need to perform a manual migration, all depending upon scenarios.

From the below-given options, choose the scenarios where you must perform manual migration.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answer: E

You need to perform the manual migration in the below cases: When the data needs to be migrated into a ZRS storage account that is located in a region other than the source account.

If the storage account is a premium block blob or page blob account.

When data needs to be migrated from ZRS to GRS, RA-GRS or LRS.

When the storage account has data in the archive tier.

Also, the below table shows how one can switch from one replication type to another:

.-from LRS

-ofrom
GRS/RA-
GRS

.from ZRS

-ofrom
GZRS/RA-
GZRS

sto LRS

N/A

Use Azure portal,
PowerShell, or CLI to
change the replication
setting

Perform a manual
migration

Perform a manual
migration

«to GRS/RA-GRS

Use Azure portal,
PowerShell, or CLI to
change the replication
setting’?

N/A

Perform a manual
migration

Perform a manual
migration

wato ZRS

Perform a manual
migration

OR

Request a live
migration

Perform a manual
migration

OR

Switch to LRS first and
then request a live
migration

N/A

Use Azure portal,
PowerShell, or CLI to
change the replication
setting

«to GZRS/RA-
GZRS

Perform a manual
migration

OR

Switch to GRS/RA-
GRS first and then
request a live
migration!

Perform a manual
migration

oR
Request a live
migration

Request a live

migration

N/A

Option A is incorrect.

Not only this, all given options are correct.

Option B is incorrect.

Although it is true that you need to perform manual migration if the storage account is a premium block blob or page blob account, all other statements are also true.

Option C is incorrect.

From the above table, it is clear that you must perform manual migration When data needs to be migrated from ZRS to GRS, RA-GRS or LRS.

But all other given options are also true.

Option D is incorrect.

It is true that you need to perform manual migration When the storage account involves data in the archive tier but all other statements are also true.

Option E is correct.

For all the given scenarios, you must perform manual migration.

To know more about replication, please visit the below-given link:

The replication settings of a storage account determine how the data is replicated across different data centers and regions to ensure high availability and durability of data. In some scenarios, changing the replication settings can be done easily through the Azure portal, Azure CLI, or PowerShell. However, in certain situations, you may need to perform manual migration to switch a storage account from one type of replication to another type. Let's examine the given options:

A. When the data needs to be migrated into a ZRS storage account that is located in a region other than the source account. If you want to migrate data into a Zonal Redundant Storage (ZRS) account that is located in a different region than the source account, you will need to perform manual migration. This is because ZRS replication is only available within a single region, and data needs to be copied manually from the source region to the destination region.

B. If the storage account is a premium block blob or page blob account. Premium block blob or page blob accounts have specific requirements for data migration. For example, if you want to switch from a Standard storage account to a Premium storage account, you will need to create a new Premium account and manually copy the data from the source account to the new account.

C. When data needs to be migrated from ZRS to GRS, RA-GRS or LRS. If you want to switch from Zonal Redundant Storage (ZRS) to other types of replication such as Geo-Redundant Storage (GRS), Read-Access Geo-Redundant Storage (RA-GRS) or Locally Redundant Storage (LRS), you will need to perform manual migration. This is because the data needs to be copied from the ZRS storage account to the new storage account with the desired replication type.

D. When the storage account involves data in the archive tier. If your storage account involves data in the archive tier, you cannot switch the replication type through the Azure portal, Azure CLI, or PowerShell. You will need to perform manual migration to a new storage account with the desired replication type.

Based on the above explanations, the correct answer is option E. All the given scenarios require manual migration to switch a storage account from one type of replication to another type.